#5B9F18#5B9F18
#5B9F18 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.173 H 133.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9F18 |
|---|---|
| RGB | rgb(91, 159, 24) |
| HSL | hsl(90, 74%, 36%) |
| HSV | hsv(90, 85%, 62%) |
| CMYK | cmyk(42.8%, 0%, 84.9%, 37.6%) |
| CIE-LAB | lab(59.05, -42.47, 56.83) |
| CIE-LCH | lch(59.05, 70.95, 126.77°) |
| OKLab | oklab(63.29% -0.1196 0.1244) |
| OKLCH | oklch(63.29% 0.173 133.9) |
| XYZ | xyz(16.8771, 27.0855, 5.2027) |
| Luminance | 0.2709 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.29
Grassy Green
#419C03
ΔE00 3.08
Leaf Green
#5CA904
ΔE00 3.25
Grass Green
#3F9B0B
ΔE00 3.46
Grass
#5CAC2D
ΔE00 4.17
Leaf
#71AA34
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9F18 #5C189F
analogous
#9E9F18 #5B9F18 #189F18
triadic
#5B9F18 #185B9F #9F185B
tetradic
#5B9F18 #189E9F #5C189F #9F1818
square
#5B9F18 #189E9F #5C189F #9F1818
split-complementary
#5B9F18 #18189F #9F189E
monochromatic
#1E3508 #3D6A10 #5B9F18 #79D420 #98E44D
Accessibility & contrast
On white
3.27
#5B9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#5B9F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9F18
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9F18 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b9f18; /* rgb */ color: rgb(91, 159, 24); /* oklch */ color: oklch(63.3% 0.173 133.9);
Tailwind
colors: {
custom: {
50: '#90bc64',
500: '#5b9f18',
950: '#000000',
},
}SCSS
$custom: #5b9f18; $custom-light: #90bc64; $custom-dark: #000000;
JSON
{
"hex": "#5b9f18",
"rgb": {
"r": 91,
"g": 159,
"b": 24
},
"hsl": {
"h": 90.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.63287,
"c": 0.17255,
"h": 133.9
},
"luminance": 0.27086
}Semantic roles & 50–950 ramp
primary
#5B9F18
secondary
#8A4DC6
accent
#37F095
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A