#5F7F16#5F7F16
#5F7F16 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.132 H 126.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7F16 |
|---|---|
| RGB | rgb(95, 127, 22) |
| HSL | hsl(78, 70%, 29%) |
| HSV | hsv(78, 83%, 50%) |
| CMYK | cmyk(25.2%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(49.09, -26.62, 48.56) |
| CIE-LCH | lch(49.09, 55.37, 118.73°) |
| OKLab | oklab(55.21% -0.0773 0.1064) |
| OKLCH | oklch(55.21% 0.132 126) |
| XYZ | xyz(12.4536, 17.6694, 3.5133) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.34
Dirty Green
#667E2C
ΔE00 2.90
Olive Green
#677A04
ΔE00 3.67
Murky Green
#6C7A0E
ΔE00 4.55
Mossy Green
#638B27
ΔE00 4.56
Sap Green
#5C8B15
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7F16 #36167F
analogous
#7F6B16 #5F7F16 #2A7F16
triadic
#5F7F16 #165F7F #7F165F
tetradic
#5F7F16 #167F6B #36167F #7F162A
square
#5F7F16 #167F6B #36167F #7F162A
split-complementary
#5F7F16 #162A7F #6B167F
monochromatic
#141A05 #384B0D #5F7F16 #86B31F #A9DC34
Accessibility & contrast
On white
4.63
#5F7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#5F7F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7F16
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7F16 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#63796C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5f7f16; /* rgb */ color: rgb(95, 127, 22); /* oklch */ color: oklch(55.2% 0.132 126.0);
Tailwind
colors: {
custom: {
50: '#90a45e',
500: '#5f7f16',
950: '#000000',
},
}SCSS
$custom: #5f7f16; $custom-light: #90a45e; $custom-dark: #000000;
JSON
{
"hex": "#5f7f16",
"rgb": {
"r": 95,
"g": 127,
"b": 22
},
"hsl": {
"h": 78.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.55214,
"c": 0.13153,
"h": 126
},
"luminance": 0.1767
}Semantic roles & 50–950 ramp
primary
#5F7F16
secondary
#613DB4
accent
#3BED71
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79