#5B9F2D#5B9F2D
#5B9F2D is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.162 H 135.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9F2D |
|---|---|
| RGB | rgb(91, 159, 45) |
| HSL | hsl(96, 56%, 40%) |
| HSV | hsv(96, 72%, 62%) |
| CMYK | cmyk(42.8%, 0%, 71.7%, 37.6%) |
| CIE-LAB | lab(59.17, -41.26, 50.14) |
| CIE-LCH | lch(59.17, 64.93, 129.45°) |
| OKLab | oklab(63.42% -0.115 0.1135) |
| OKLCH | oklch(63.42% 0.162 135.4) |
| XYZ | xyz(17.1858, 27.2089, 6.8284) |
| Luminance | 0.2721 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.18
Grassy Green
#419C03
ΔE00 3.53
Grass Green
#3F9B0B
ΔE00 3.61
Grass
#5CAC2D
ΔE00 3.95
Leaf
#71AA34
ΔE00 4.40
Leaf Green
#5CA904
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9F2D #712D9F
analogous
#949F2D #5B9F2D #2D9F38
triadic
#5B9F2D #2D5B9F #9F2D5B
tetradic
#5B9F2D #2D949F #712D9F #9F382D
square
#5B9F2D #2D949F #712D9F #9F382D
split-complementary
#5B9F2D #382D9F #9F2D94
monochromatic
#244012 #406F20 #5B9F2D #77C940 #99D670
Accessibility & contrast
On white
3.26
#5B9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#5B9F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9F2D
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9F2D | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921A
Deuteranopia (green-blind)
#9C8C38
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b9f2d; /* rgb */ color: rgb(91, 159, 45); /* oklch */ color: oklch(63.4% 0.162 135.4);
Tailwind
colors: {
custom: {
50: '#8fbc6d',
500: '#5b9f2d',
950: '#000000',
},
}SCSS
$custom: #5b9f2d; $custom-light: #8fbc6d; $custom-dark: #000000;
JSON
{
"hex": "#5b9f2d",
"rgb": {
"r": 91,
"g": 159,
"b": 45
},
"hsl": {
"h": 95.789,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.63416,
"c": 0.16156,
"h": 135.4
},
"luminance": 0.2721
}Semantic roles & 50–950 ramp
primary
#5B9F2D
secondary
#9C6ABE
accent
#49DFA2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A