#5B9F17#5B9F17
#5B9F17 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.173 H 133.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9F17 |
|---|---|
| RGB | rgb(91, 159, 23) |
| HSL | hsl(90, 75%, 36%) |
| HSV | hsv(90, 86%, 62%) |
| CMYK | cmyk(42.8%, 0%, 85.5%, 37.6%) |
| CIE-LAB | lab(59.05, -42.51, 57.07) |
| CIE-LCH | lch(59.05, 71.17, 126.68°) |
| OKLab | oklab(63.28% -0.1198 0.1247) |
| OKLCH | oklch(63.28% 0.173 133.8) |
| XYZ | xyz(16.8669, 27.0814, 5.1489) |
| Luminance | 0.2708 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.29
Grassy Green
#419C03
ΔE00 3.09
Leaf Green
#5CA904
ΔE00 3.23
Grass Green
#3F9B0B
ΔE00 3.48
Grass
#5CAC2D
ΔE00 4.20
Leaf
#71AA34
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9F17 #5B179F
analogous
#9F9F17 #5B9F17 #179F17
triadic
#5B9F17 #175B9F #9F175B
tetradic
#5B9F17 #179F9F #5B179F #9F1717
square
#5B9F17 #179F9F #5B179F #9F1717
split-complementary
#5B9F17 #17179F #9F179F
monochromatic
#1E3408 #3C6A0F #5B9F17 #7AD41F #98E54B
Accessibility & contrast
On white
3.27
#5B9F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#5B9F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9F17
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9F17 | 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)
#9D8C29
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b9f17; /* rgb */ color: rgb(91, 159, 23); /* oklch */ color: oklch(63.3% 0.173 133.8);
Tailwind
colors: {
custom: {
50: '#90bc63',
500: '#5b9f17',
950: '#000000',
},
}SCSS
$custom: #5b9f17; $custom-light: #90bc63; $custom-dark: #000000;
JSON
{
"hex": "#5b9f17",
"rgb": {
"r": 91,
"g": 159,
"b": 23
},
"hsl": {
"h": 90,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.63282,
"c": 0.17293,
"h": 133.8
},
"luminance": 0.27082
}Semantic roles & 50–950 ramp
primary
#5B9F17
secondary
#894BC7
accent
#36F194
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A