#5F9E22#5F9E22
#5F9E22 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.165 H 133.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9E22 |
|---|---|
| RGB | rgb(95, 158, 34) |
| HSL | hsl(90, 65%, 38%) |
| HSV | hsv(90, 78%, 62%) |
| CMYK | cmyk(39.9%, 0%, 78.5%, 38%) |
| CIE-LAB | lab(58.98, -40.17, 53.94) |
| CIE-LCH | lch(58.98, 67.26, 126.67°) |
| OKLab | oklab(63.29% -0.1131 0.1197) |
| OKLCH | oklch(63.29% 0.165 133.4) |
| XYZ | xyz(17.2346, 27.0013, 5.8167) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.03
Grassy Green
#419C03
ΔE00 3.56
Grass Green
#3F9B0B
ΔE00 3.82
Leaf Green
#5CA904
ΔE00 3.85
Leaf
#71AA34
ΔE00 4.21
Grass
#5CAC2D
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9E22 #61229E
analogous
#9D9E22 #5F9E22 #229E23
triadic
#5F9E22 #225F9E #9E225F
tetradic
#5F9E22 #229D9E #61229E #9E2322
square
#5F9E22 #229D9E #61229E #9E2322
split-complementary
#5F9E22 #23229E #9E229D
monochromatic
#22390C #416C17 #5F9E22 #7DD02D #9CDC5E
Accessibility & contrast
On white
3.28
#5F9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#5F9E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9E22
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9E22 | 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)
#9C8C2F
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5f9e22; /* rgb */ color: rgb(95, 158, 34); /* oklch */ color: oklch(63.3% 0.165 133.4);
Tailwind
colors: {
custom: {
50: '#92bb68',
500: '#5f9e22',
950: '#000000',
},
}SCSS
$custom: #5f9e22; $custom-light: #92bb68; $custom-dark: #000000;
JSON
{
"hex": "#5f9e22",
"rgb": {
"r": 95,
"g": 158,
"b": 34
},
"hsl": {
"h": 90.484,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.6329,
"c": 0.16468,
"h": 133.4
},
"luminance": 0.27002
}Semantic roles & 50–950 ramp
primary
#5F9E22
secondary
#8F5BC1
accent
#40E895
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A