#5F9D1F#5F9D1F
#5F9D1F is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.165 H 133.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9D1F |
|---|---|
| RGB | rgb(95, 157, 31) |
| HSL | hsl(90, 67%, 37%) |
| HSV | hsv(90, 80%, 62%) |
| CMYK | cmyk(39.5%, 0%, 80.3%, 38.4%) |
| CIE-LAB | lab(58.64, -39.90, 54.58) |
| CIE-LCH | lch(58.64, 67.61, 126.17°) |
| OKLab | oklab(63.01% -0.1126 0.1206) |
| OKLCH | oklch(63.01% 0.165 133) |
| XYZ | xyz(17.0234, 26.6450, 5.5421) |
| Luminance | 0.2665 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.20
Grassy Green
#419C03
ΔE00 3.54
Grass Green
#3F9B0B
ΔE00 3.81
Leaf Green
#5CA904
ΔE00 4.03
Leaf
#71AA34
ΔE00 4.50
Grass
#5CAC2D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9D1F #5D1F9D
analogous
#9D9C1F #5F9D1F #209D1F
triadic
#5F9D1F #1F5F9D #9D1F5F
tetradic
#5F9D1F #1F9D9C #5D1F9D #9D1F20
square
#5F9D1F #1F9D9C #5D1F9D #9D1F20
split-complementary
#5F9D1F #1F209D #9C1F9D
monochromatic
#21370B #406A15 #5F9D1F #7ED029 #9CDE58
Accessibility & contrast
On white
3.32
#5F9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#5F9D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9D1F
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9D1F | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#5F9686
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5f9d1f; /* rgb */ color: rgb(95, 157, 31); /* oklch */ color: oklch(63.0% 0.165 133.0);
Tailwind
colors: {
custom: {
50: '#92ba66',
500: '#5f9d1f',
950: '#000000',
},
}SCSS
$custom: #5f9d1f; $custom-light: #92ba66; $custom-dark: #000000;
JSON
{
"hex": "#5f9d1f",
"rgb": {
"r": 95,
"g": 157,
"b": 31
},
"hsl": {
"h": 89.524,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.63014,
"c": 0.16496,
"h": 133
},
"luminance": 0.26646
}Semantic roles & 50–950 ramp
primary
#5F9D1F
secondary
#8B56C2
accent
#3EEA93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A