#5B9C1D#5B9C1D
#5B9C1D is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.5% C 0.167 H 133.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9C1D |
|---|---|
| RGB | rgb(91, 156, 29) |
| HSL | hsl(91, 69%, 36%) |
| HSV | hsv(91, 81%, 61%) |
| CMYK | cmyk(41.7%, 0%, 81.4%, 38.8%) |
| CIE-LAB | lab(58.12, -40.99, 54.62) |
| CIE-LCH | lch(58.12, 68.29, 126.89°) |
| OKLab | oklab(62.53% -0.1154 0.1205) |
| OKLCH | oklch(62.53% 0.167 133.8) |
| XYZ | xyz(16.4243, 26.0889, 5.3324) |
| Luminance | 0.2609 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.00
Lawn Green
#4DA409
ΔE00 3.11
Grass Green
#3F9B0B
ΔE00 3.23
Leaf Green
#5CA904
ΔE00 4.30
Grass
#5CAC2D
ΔE00 4.95
Leaf
#71AA34
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9C1D #5E1D9C
analogous
#9B9C1D #5B9C1D #1D9C1F
triadic
#5B9C1D #1D5B9C #9C1D5B
tetradic
#5B9C1D #1D9B9C #5E1D9C #9C1F1D
square
#5B9C1D #1D9B9C #5E1D9C #9C1F1D
split-complementary
#5B9C1D #1F1D9C #9C1D9B
monochromatic
#1F350A #3D6813 #5B9C1D #79D027 #98DF54
Accessibility & contrast
On white
3.38
#5B9C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#5B9C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9C1D
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9C1D | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#5B9685
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5b9c1d; /* rgb */ color: rgb(91, 156, 29); /* oklch */ color: oklch(62.5% 0.167 133.8);
Tailwind
colors: {
custom: {
50: '#8fba65',
500: '#5b9c1d',
950: '#000000',
},
}SCSS
$custom: #5b9c1d; $custom-light: #8fba65; $custom-dark: #000000;
JSON
{
"hex": "#5b9c1d",
"rgb": {
"r": 91,
"g": 156,
"b": 29
},
"hsl": {
"h": 90.709,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.62529,
"c": 0.16679,
"h": 133.8
},
"luminance": 0.2609
}Semantic roles & 50–950 ramp
primary
#5B9C1D
secondary
#8C52C2
accent
#3CEB96
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A