#5F9D1A#5F9D1A
#5F9D1A is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.167 H 132.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9D1A |
|---|---|
| RGB | rgb(95, 157, 26) |
| HSL | hsl(88, 72%, 36%) |
| HSV | hsv(88, 83%, 62%) |
| CMYK | cmyk(39.5%, 0%, 83.4%, 38.4%) |
| CIE-LAB | lab(58.62, -40.14, 56.00) |
| CIE-LCH | lch(58.62, 68.90, 125.63°) |
| OKLab | oklab(62.99% -0.1135 0.1228) |
| OKLCH | oklch(62.99% 0.167 132.8) |
| XYZ | xyz(16.9625, 26.6206, 5.2216) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.16
Grassy Green
#419C03
ΔE00 3.56
Leaf Green
#5CA904
ΔE00 3.88
Grass Green
#3F9B0B
ΔE00 3.88
Leaf
#71AA34
ΔE00 4.57
Grass
#5CAC2D
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9D1A #581A9D
analogous
#9D991A #5F9D1A #1D9D1A
triadic
#5F9D1A #1A5F9D #9D1A5F
tetradic
#5F9D1A #1A9D99 #581A9D #9D1A1D
square
#5F9D1A #1A9D99 #581A9D #9D1A1D
split-complementary
#5F9D1A #1A1D9D #991A9D
monochromatic
#1F3409 #3F6811 #5F9D1A #7FD223 #9DE24F
Accessibility & contrast
On white
3.32
#5F9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#5F9D1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9D1A
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9D1A | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#609686
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5f9d1a; /* rgb */ color: rgb(95, 157, 26); /* oklch */ color: oklch(63.0% 0.167 132.8);
Tailwind
colors: {
custom: {
50: '#92ba64',
500: '#5f9d1a',
950: '#000000',
},
}SCSS
$custom: #5f9d1a; $custom-light: #92ba64; $custom-dark: #000000;
JSON
{
"hex": "#5f9d1a",
"rgb": {
"r": 95,
"g": 157,
"b": 26
},
"hsl": {
"h": 88.397,
"s": 71.585,
"l": 35.882
},
"oklch": {
"l": 0.62988,
"c": 0.16722,
"h": 132.8
},
"luminance": 0.26621
}Semantic roles & 50–950 ramp
primary
#5F9D1A
secondary
#864EC4
accent
#39EE8F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A