#5F9D2A#5F9D2A
#5F9D2A is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.1% C 0.159 H 133.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9D2A |
|---|---|
| RGB | rgb(95, 157, 42) |
| HSL | hsl(92, 58%, 39%) |
| HSV | hsv(92, 73%, 62%) |
| CMYK | cmyk(39.5%, 0%, 73.2%, 38.4%) |
| CIE-LAB | lab(58.71, -39.24, 50.88) |
| CIE-LCH | lch(58.71, 64.25, 127.64°) |
| OKLab | oklab(63.09% -0.11 0.1145) |
| OKLCH | oklch(63.09% 0.159 133.8) |
| XYZ | xyz(17.1939, 26.7132, 6.4402) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.58
Grassy Green
#419C03
ΔE00 3.74
Grass Green
#3F9B0B
ΔE00 3.87
Leaf
#71AA34
ΔE00 4.48
Leaf Green
#5CA904
ΔE00 4.59
Grass
#5CAC2D
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9D2A #682A9D
analogous
#999D2A #5F9D2A #2A9D2F
triadic
#5F9D2A #2A5F9D #9D2A5F
tetradic
#5F9D2A #2A999D #682A9D #9D2F2A
square
#5F9D2A #2A999D #682A9D #9D2F2A
split-complementary
#5F9D2A #2F2A9D #9D2A99
monochromatic
#253C10 #426D1D #5F9D2A #7CCA3A #9CD76A
Accessibility & contrast
On white
3.31
#5F9D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#5F9D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9D2A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9D2A | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5f9d2a; /* rgb */ color: rgb(95, 157, 42); /* oklch */ color: oklch(63.1% 0.159 133.8);
Tailwind
colors: {
custom: {
50: '#92ba6b',
500: '#5f9d2a',
950: '#000000',
},
}SCSS
$custom: #5f9d2a; $custom-light: #92ba6b; $custom-dark: #000000;
JSON
{
"hex": "#5f9d2a",
"rgb": {
"r": 95,
"g": 157,
"b": 42
},
"hsl": {
"h": 92.348,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.63086,
"c": 0.1588,
"h": 133.8
},
"luminance": 0.26714
}Semantic roles & 50–950 ramp
primary
#5F9D2A
secondary
#9565BE
accent
#47E19A
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A