#5B9E25#5B9E25
#5B9E25 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.165 H 134.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9E25 |
|---|---|
| RGB | rgb(91, 158, 37) |
| HSL | hsl(93, 62%, 38%) |
| HSV | hsv(93, 77%, 62%) |
| CMYK | cmyk(42.4%, 0%, 76.6%, 38%) |
| CIE-LAB | lab(58.80, -41.39, 52.70) |
| CIE-LCH | lch(58.80, 67.01, 128.14°) |
| OKLab | oklab(63.1% -0.1159 0.1177) |
| OKLCH | oklch(63.1% 0.165 134.6) |
| XYZ | xyz(16.8748, 26.8105, 6.0357) |
| Luminance | 0.2681 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.86
Grassy Green
#419C03
ΔE00 3.13
Grass Green
#3F9B0B
ΔE00 3.32
Leaf Green
#5CA904
ΔE00 4.10
Grass
#5CAC2D
ΔE00 4.23
Leaf
#71AA34
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9E25 #68259E
analogous
#979E25 #5B9E25 #259E2B
triadic
#5B9E25 #255B9E #9E255B
tetradic
#5B9E25 #25979E #68259E #9E2B25
square
#5B9E25 #25979E #68259E #9E2B25
split-complementary
#5B9E25 #2B259E #9E2597
monochromatic
#223B0E #3E6C19 #5B9E25 #78CF31 #98DA63
Accessibility & contrast
On white
3.30
#5B9E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#5B9E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9E25
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9E25 | 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)
#A49109
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5b9e25; /* rgb */ color: rgb(91, 158, 37); /* oklch */ color: oklch(63.1% 0.165 134.6);
Tailwind
colors: {
custom: {
50: '#8fbb69',
500: '#5b9e25',
950: '#000000',
},
}SCSS
$custom: #5b9e25; $custom-light: #8fbb69; $custom-dark: #000000;
JSON
{
"hex": "#5b9e25",
"rgb": {
"r": 91,
"g": 158,
"b": 37
},
"hsl": {
"h": 93.223,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.63098,
"c": 0.16517,
"h": 134.6
},
"luminance": 0.26811
}Semantic roles & 50–950 ramp
primary
#5B9E25
secondary
#955FC0
accent
#43E59D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A