#5B9F16#5B9F16
#5B9F16 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 | #5B9F16 |
|---|---|
| RGB | rgb(91, 159, 22) |
| HSL | hsl(90, 76%, 35%) |
| HSV | hsv(90, 86%, 62%) |
| CMYK | cmyk(42.8%, 0%, 86.2%, 37.6%) |
| CIE-LAB | lab(59.05, -42.55, 57.31) |
| CIE-LCH | lch(59.05, 71.38, 126.59°) |
| OKLab | oklab(63.28% -0.1199 0.1251) |
| OKLCH | oklch(63.28% 0.173 133.8) |
| XYZ | xyz(16.8571, 27.0774, 5.0971) |
| Luminance | 0.2708 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.29
Grassy Green
#419C03
ΔE00 3.10
Leaf Green
#5CA904
ΔE00 3.20
Grass Green
#3F9B0B
ΔE00 3.50
Grass
#5CAC2D
ΔE00 4.22
Leaf
#71AA34
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9F16 #5A169F
analogous
#9F9E16 #5B9F16 #169F16
triadic
#5B9F16 #165B9F #9F165B
tetradic
#5B9F16 #169F9E #5A169F #9F1616
square
#5B9F16 #169F9E #5A169F #9F1616
split-complementary
#5B9F16 #16169F #9E169F
monochromatic
#1D3307 #3C690F #5B9F16 #7AD51D #98E64A
Accessibility & contrast
On white
3.27
#5B9F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#5B9F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9F16
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9F16 | 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)
#9D8C28
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b9f16; /* rgb */ color: rgb(91, 159, 22); /* oklch */ color: oklch(63.3% 0.173 133.8);
Tailwind
colors: {
custom: {
50: '#90bc63',
500: '#5b9f16',
950: '#000000',
},
}SCSS
$custom: #5b9f16; $custom-light: #90bc63; $custom-dark: #000000;
JSON
{
"hex": "#5b9f16",
"rgb": {
"r": 91,
"g": 159,
"b": 22
},
"hsl": {
"h": 89.781,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.63278,
"c": 0.17329,
"h": 133.8
},
"luminance": 0.27078
}Semantic roles & 50–950 ramp
primary
#5B9F16
secondary
#884AC7
accent
#36F293
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A