#5B9E22#5B9E22
#5B9E22 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.167 H 134.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9E22 |
|---|---|
| RGB | rgb(91, 158, 34) |
| HSL | hsl(92, 65%, 38%) |
| HSV | hsv(92, 78%, 62%) |
| CMYK | cmyk(42.4%, 0%, 78.5%, 38%) |
| CIE-LAB | lab(58.78, -41.57, 53.69) |
| CIE-LCH | lch(58.78, 67.90, 127.75°) |
| OKLab | oklab(63.08% -0.1166 0.1193) |
| OKLCH | oklch(63.08% 0.167 134.4) |
| XYZ | xyz(16.8296, 26.7924, 5.7977) |
| Luminance | 0.2679 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.73
Grassy Green
#419C03
ΔE00 3.06
Grass Green
#3F9B0B
ΔE00 3.29
Leaf Green
#5CA904
ΔE00 3.93
Grass
#5CAC2D
ΔE00 4.26
Leaf
#71AA34
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9E22 #65229E
analogous
#999E22 #5B9E22 #229E27
triadic
#5B9E22 #225B9E #9E225B
tetradic
#5B9E22 #22999E #65229E #9E2722
square
#5B9E22 #22999E #65229E #9E2722
split-complementary
#5B9E22 #27229E #9E2299
monochromatic
#21390C #3E6C17 #5B9E22 #78D02D #98DC5E
Accessibility & contrast
On white
3.30
#5B9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#5B9E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9E22
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9E22 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5b9e22; /* rgb */ color: rgb(91, 158, 34); /* oklch */ color: oklch(63.1% 0.167 134.4);
Tailwind
colors: {
custom: {
50: '#8fbb67',
500: '#5b9e22',
950: '#000000',
},
}SCSS
$custom: #5b9e22; $custom-light: #8fbb67; $custom-dark: #000000;
JSON
{
"hex": "#5b9e22",
"rgb": {
"r": 91,
"g": 158,
"b": 34
},
"hsl": {
"h": 92.419,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.63079,
"c": 0.16679,
"h": 134.4
},
"luminance": 0.26793
}Semantic roles & 50–950 ramp
primary
#5B9E22
secondary
#925BC1
accent
#40E89B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A