#5F9E1F#5F9E1F
#5F9E1F is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.166 H 133.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9E1F |
|---|---|
| RGB | rgb(95, 158, 31) |
| HSL | hsl(90, 67%, 37%) |
| HSV | hsv(90, 80%, 62%) |
| CMYK | cmyk(39.9%, 0%, 80.4%, 38%) |
| CIE-LAB | lab(58.96, -40.33, 54.87) |
| CIE-LCH | lch(58.96, 68.10, 126.31°) |
| OKLab | oklab(63.27% -0.1137 0.1212) |
| OKLCH | oklch(63.27% 0.166 133.2) |
| XYZ | xyz(17.1932, 26.9847, 5.5987) |
| Luminance | 0.2699 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.97
Grassy Green
#419C03
ΔE00 3.55
Leaf Green
#5CA904
ΔE00 3.73
Grass Green
#3F9B0B
ΔE00 3.85
Leaf
#71AA34
ΔE00 4.25
Grass
#5CAC2D
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9E1F #5E1F9E
analogous
#9E9E1F #5F9E1F #1F9E1F
triadic
#5F9E1F #1F5F9E #9E1F5F
tetradic
#5F9E1F #1F9E9E #5E1F9E #9E1F1F
square
#5F9E1F #1F9E9E #5E1F9E #9E1F1F
split-complementary
#5F9E1F #1F1F9E #9E1F9E
monochromatic
#21380B #406B15 #5F9E1F #7ED129 #9CDE59
Accessibility & contrast
On white
3.28
#5F9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#5F9E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9E1F
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9E1F | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5f9e1f; /* rgb */ color: rgb(95, 158, 31); /* oklch */ color: oklch(63.3% 0.166 133.2);
Tailwind
colors: {
custom: {
50: '#92bb66',
500: '#5f9e1f',
950: '#000000',
},
}SCSS
$custom: #5f9e1f; $custom-light: #92bb66; $custom-dark: #000000;
JSON
{
"hex": "#5f9e1f",
"rgb": {
"r": 95,
"g": 158,
"b": 31
},
"hsl": {
"h": 89.764,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.63272,
"c": 0.16619,
"h": 133.2
},
"luminance": 0.26986
}Semantic roles & 50–950 ramp
primary
#5F9E1F
secondary
#8C56C2
accent
#3EEA93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A