#5F9E1C#5F9E1C
#5F9E1C is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.168 H 133.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9E1C |
|---|---|
| RGB | rgb(95, 158, 28) |
| HSL | hsl(89, 70%, 36%) |
| HSV | hsv(89, 82%, 62%) |
| CMYK | cmyk(39.9%, 0%, 82.3%, 38%) |
| CIE-LAB | lab(58.95, -40.47, 55.74) |
| CIE-LCH | lch(58.95, 68.88, 125.99°) |
| OKLab | oklab(63.26% -0.1143 0.1226) |
| OKLCH | oklch(63.26% 0.168 133) |
| XYZ | xyz(17.1555, 26.9696, 5.4001) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.94
Grassy Green
#419C03
ΔE00 3.56
Leaf Green
#5CA904
ΔE00 3.63
Grass Green
#3F9B0B
ΔE00 3.88
Leaf
#71AA34
ΔE00 4.29
Grass
#5CAC2D
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9E1C #5B1C9E
analogous
#9E9C1C #5F9E1C #1E9E1C
triadic
#5F9E1C #1C5F9E #9E1C5F
tetradic
#5F9E1C #1C9E9C #5B1C9E #9E1C1E
square
#5F9E1C #1C9E9C #5B1C9E #9E1C1E
split-complementary
#5F9E1C #1C1E9E #9C1C9E
monochromatic
#20360A #406A13 #5F9E1C #7ED225 #9CE154
Accessibility & contrast
On white
3.28
#5F9E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#5F9E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9E1C
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9E1C | 1.00 | 3.28 | 6.39 | 6.39 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5f9e1c; /* rgb */ color: rgb(95, 158, 28); /* oklch */ color: oklch(63.3% 0.168 133.0);
Tailwind
colors: {
custom: {
50: '#92bb65',
500: '#5f9e1c',
950: '#000000',
},
}SCSS
$custom: #5f9e1c; $custom-light: #92bb65; $custom-dark: #000000;
JSON
{
"hex": "#5f9e1c",
"rgb": {
"r": 95,
"g": 158,
"b": 28
},
"hsl": {
"h": 89.077,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.63256,
"c": 0.16758,
"h": 133
},
"luminance": 0.2697
}Semantic roles & 50–950 ramp
primary
#5F9E1C
secondary
#8952C4
accent
#3BED91
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A