#5F8D2E#5F8D2E
#5F8D2E is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.135 H 131.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8D2E |
|---|---|
| RGB | rgb(95, 141, 46) |
| HSL | hsl(89, 51%, 37%) |
| HSV | hsv(89, 67%, 55%) |
| CMYK | cmyk(32.6%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(53.69, -31.75, 44.07) |
| CIE-LCH | lch(53.69, 54.32, 125.77°) |
| OKLab | oklab(59% -0.0893 0.1008) |
| OKLCH | oklch(59% 0.135 131.5) |
| XYZ | xyz(14.7372, 21.6794, 5.9923) |
| Luminance | 0.2168 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.64
Moss Green (survey)
#658B38
ΔE00 1.94
Sap Green
#5C8B15
ΔE00 2.73
Olivedrab
#6B8E23
ΔE00 3.31
Fern Green
#548D44
ΔE00 4.86
Swamp
#698339
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8D2E #5C2E8D
analogous
#8D8C2E #5F8D2E #2F8D2E
triadic
#5F8D2E #2E5F8D #8D2E5F
tetradic
#5F8D2E #2E8D8C #5C2E8D #8D2E2F
square
#5F8D2E #2E8D8C #5C2E8D #8D2E2F
split-complementary
#5F8D2E #2E2F8D #8C2E8D
monochromatic
#213110 #405F1F #5F8D2E #7EBB3D #9CCE68
Accessibility & contrast
On white
3.94
#5F8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#5F8D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8D2E
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8D2E | 1.00 | 3.94 | 5.34 | 5.34 |
| #FFFFFF | 3.94 | 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)
#938321
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#61877A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f8d2e; /* rgb */ color: rgb(95, 141, 46); /* oklch */ color: oklch(59.0% 0.135 131.5);
Tailwind
colors: {
custom: {
50: '#90ae6c',
500: '#5f8d2e',
950: '#000000',
},
}SCSS
$custom: #5f8d2e; $custom-light: #90ae6c; $custom-dark: #000000;
JSON
{
"hex": "#5f8d2e",
"rgb": {
"r": 95,
"g": 141,
"b": 46
},
"hsl": {
"h": 89.053,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.58997,
"c": 0.13468,
"h": 131.5
},
"luminance": 0.2168
}Semantic roles & 50–950 ramp
primary
#5F8D2E
secondary
#8A62B5
accent
#4EDA92
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A