#5B9E18#5B9E18
#5B9E18 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.171 H 133.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9E18 |
|---|---|
| RGB | rgb(91, 158, 24) |
| HSL | hsl(90, 74%, 36%) |
| HSV | hsv(90, 85%, 62%) |
| CMYK | cmyk(42.4%, 0%, 84.8%, 38%) |
| CIE-LAB | lab(58.74, -42.06, 56.55) |
| CIE-LCH | lch(58.74, 70.47, 126.64°) |
| OKLab | oklab(63.03% -0.1185 0.1238) |
| OKLCH | oklch(63.03% 0.171 133.8) |
| XYZ | xyz(16.7058, 26.7429, 5.1456) |
| Luminance | 0.2674 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.53
Grassy Green
#419C03
ΔE00 3.02
Grass Green
#3F9B0B
ΔE00 3.38
Leaf Green
#5CA904
ΔE00 3.55
Grass
#5CAC2D
ΔE00 4.46
Leaf
#71AA34
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9E18 #5B189E
analogous
#9E9E18 #5B9E18 #189E18
triadic
#5B9E18 #185B9E #9E185B
tetradic
#5B9E18 #189E9E #5B189E #9E1818
square
#5B9E18 #189E9E #5B189E #9E1818
split-complementary
#5B9E18 #18189E #9E189E
monochromatic
#1E3408 #3C6910 #5B9E18 #7AD320 #98E44D
Accessibility & contrast
On white
3.31
#5B9E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#5B9E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9E18
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9E18 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#5B9786
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5b9e18; /* rgb */ color: rgb(91, 158, 24); /* oklch */ color: oklch(63.0% 0.171 133.8);
Tailwind
colors: {
custom: {
50: '#90bb63',
500: '#5b9e18',
950: '#000000',
},
}SCSS
$custom: #5b9e18; $custom-light: #90bb63; $custom-dark: #000000;
JSON
{
"hex": "#5b9e18",
"rgb": {
"r": 91,
"g": 158,
"b": 24
},
"hsl": {
"h": 90,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.63026,
"c": 0.17135,
"h": 133.8
},
"luminance": 0.26744
}Semantic roles & 50–950 ramp
primary
#5B9E18
secondary
#894CC6
accent
#38F094
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A