#5F8D2F#5F8D2F
#5F8D2F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.134 H 131.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8D2F |
|---|---|
| RGB | rgb(95, 141, 47) |
| HSL | hsl(89, 50%, 37%) |
| HSV | hsv(89, 67%, 55%) |
| CMYK | cmyk(32.6%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(53.69, -31.67, 43.65) |
| CIE-LCH | lch(53.69, 53.92, 125.96°) |
| OKLab | oklab(59.01% -0.089 0.1) |
| OKLCH | oklch(59.01% 0.134 131.7) |
| XYZ | xyz(14.7571, 21.6874, 6.0973) |
| Luminance | 0.2169 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.75
Moss Green (survey)
#658B38
ΔE00 1.85
Sap Green
#5C8B15
ΔE00 2.87
Olivedrab
#6B8E23
ΔE00 3.42
Fern Green
#548D44
ΔE00 4.73
Swamp
#698339
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8D2F #5D2F8D
analogous
#8D8C2F #5F8D2F #308D2F
triadic
#5F8D2F #2F5F8D #8D2F5F
tetradic
#5F8D2F #2F8D8C #5D2F8D #8D2F30
square
#5F8D2F #2F8D8C #5D2F8D #8D2F30
split-complementary
#5F8D2F #2F308D #8C2F8D
monochromatic
#213110 #405F20 #5F8D2F #7EBB3E #9CCD69
Accessibility & contrast
On white
3.93
#5F8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#5F8D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8D2F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8D2F | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938323
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#60877A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f8d2f; /* rgb */ color: rgb(95, 141, 47); /* oklch */ color: oklch(59.0% 0.134 131.7);
Tailwind
colors: {
custom: {
50: '#90ae6c',
500: '#5f8d2f',
950: '#000000',
},
}SCSS
$custom: #5f8d2f; $custom-light: #90ae6c; $custom-dark: #000000;
JSON
{
"hex": "#5f8d2f",
"rgb": {
"r": 95,
"g": 141,
"b": 47
},
"hsl": {
"h": 89.362,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.59007,
"c": 0.1339,
"h": 131.7
},
"luminance": 0.21688
}Semantic roles & 50–950 ramp
primary
#5F8D2F
secondary
#8B64B4
accent
#4EDA92
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A