#5F6D2C
A dark, moderate yellow closely aligning with Darkolivegreen.
About #5F6D2C
The hex code #5F6D2C represents a beautifully specific shade of yellow. If you're using CSS, you might find it aligns closely with Darkolivegreen. This translates to an RGB value of rgb(95, 109, 44).
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 13% C, 0% M, 60% Y, and 57% K. With a hue angle of 72.9 degrees, it sits comfortably in the yellow spectrum.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#5F6D2C
RGB95, 109, 44
HSL72.9°, 42.5%, 30.0%
CMYK13%, 0%, 60%, 57%
HSV72.9°, 59.6%, 42.7%
LAB43.6, -15.8, 33.9
XYZ10.6, 13.6, 4.4
Decimal6253868
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.66:1
Text on #FFFFFF
AA
3.71:1
Text on #000000
AA Large
5.41:1
Text on #F8FAFC
AA
3.15:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #5F6D2C;
}
.text-color {
color: #5F6D2C;
}
.border-color {
border: 2px solid #5F6D2C;
}