#5B9B23#5B9B23
#5B9B23 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.163 H 134.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9B23 |
|---|---|
| RGB | rgb(91, 155, 35) |
| HSL | hsl(92, 63%, 37%) |
| HSV | hsv(92, 77%, 61%) |
| CMYK | cmyk(41.3%, 0%, 77.4%, 39.2%) |
| CIE-LAB | lab(57.83, -40.24, 52.46) |
| CIE-LCH | lch(57.83, 66.11, 127.49°) |
| OKLab | oklab(62.3% -0.113 0.1168) |
| OKLCH | oklch(62.3% 0.163 134) |
| XYZ | xyz(16.3388, 25.7873, 5.7063) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.13
Grass Green
#3F9B0B
ΔE00 3.24
Lawn Green
#4DA409
ΔE00 3.54
Leaf Green
#5CA904
ΔE00 4.85
Grass
#5CAC2D
ΔE00 5.18
Leaf
#71AA34
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9B23 #63239B
analogous
#979B23 #5B9B23 #239B27
triadic
#5B9B23 #235B9B #9B235B
tetradic
#5B9B23 #23979B #63239B #9B2723
square
#5B9B23 #23979B #63239B #9B2723
split-complementary
#5B9B23 #27239B #9B2397
monochromatic
#20370C #3E6918 #5B9B23 #78CD2E #98DB5E
Accessibility & contrast
On white
3.41
#5B9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#5B9B23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9B23
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9B23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9B23 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#998930
Tritanopia (blue-blind)
#5A9584
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5b9b23; /* rgb */ color: rgb(91, 155, 35); /* oklch */ color: oklch(62.3% 0.163 134.0);
Tailwind
colors: {
custom: {
50: '#8fb968',
500: '#5b9b23',
950: '#000000',
},
}SCSS
$custom: #5b9b23; $custom-light: #8fb968; $custom-dark: #000000;
JSON
{
"hex": "#5b9b23",
"rgb": {
"r": 91,
"g": 155,
"b": 35
},
"hsl": {
"h": 92,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.62304,
"c": 0.16251,
"h": 134
},
"luminance": 0.25788
}Semantic roles & 50–950 ramp
primary
#5B9B23
secondary
#905ABF
accent
#42E699
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A