#5F9B20#5F9B20
#5F9B20 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.162 H 132.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9B20 |
|---|---|
| RGB | rgb(95, 155, 32) |
| HSL | hsl(89, 66%, 37%) |
| HSV | hsv(89, 79%, 61%) |
| CMYK | cmyk(38.7%, 0%, 79.4%, 39.2%) |
| CIE-LAB | lab(58.02, -38.99, 53.68) |
| CIE-LCH | lch(58.02, 66.35, 125.99°) |
| OKLab | oklab(62.5% -0.11 0.1189) |
| OKLCH | oklch(62.5% 0.162 132.8) |
| XYZ | xyz(16.7011, 25.9791, 5.5007) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.61
Lawn Green
#4DA409
ΔE00 3.73
Grass Green
#3F9B0B
ΔE00 3.81
Leaf Green
#5CA904
ΔE00 4.67
Leaf
#71AA34
ΔE00 5.01
Olivedrab
#6B8E23
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9B20 #5C209B
analogous
#9B9A20 #5F9B20 #229B20
triadic
#5F9B20 #205F9B #9B205F
tetradic
#5F9B20 #209B9A #5C209B #9B2022
square
#5F9B20 #209B9A #5C209B #9B2022
split-complementary
#5F9B20 #20229B #9A209B
monochromatic
#21360B #406816 #5F9B20 #7ECE2A #9CDD59
Accessibility & contrast
On white
3.39
#5F9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#5F9B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9B20
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9B20 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#609484
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5f9b20; /* rgb */ color: rgb(95, 155, 32); /* oklch */ color: oklch(62.5% 0.162 132.8);
Tailwind
colors: {
custom: {
50: '#92b966',
500: '#5f9b20',
950: '#000000',
},
}SCSS
$custom: #5f9b20; $custom-light: #92b966; $custom-dark: #000000;
JSON
{
"hex": "#5f9b20",
"rgb": {
"r": 95,
"g": 155,
"b": 32
},
"hsl": {
"h": 89.268,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.62502,
"c": 0.16197,
"h": 132.8
},
"luminance": 0.2598
}Semantic roles & 50–950 ramp
primary
#5F9B20
secondary
#8A56C1
accent
#3FE992
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A