#5BAB2B#5BAB2B
#5BAB2B is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.178 H 136.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAB2B |
|---|---|
| RGB | rgb(91, 171, 43) |
| HSL | hsl(98, 60%, 42%) |
| HSV | hsv(98, 75%, 67%) |
| CMYK | cmyk(46.8%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(62.95, -46.34, 54.67) |
| CIE-LCH | lch(62.95, 71.67, 130.28°) |
| OKLab | oklab(66.51% -0.1289 0.1227) |
| OKLCH | oklch(66.51% 0.178 136.4) |
| XYZ | xyz(19.3128, 31.5231, 7.3520) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.33
Leaf Green
#5CA904
ΔE00 2.62
Lawn Green
#4DA409
ΔE00 2.95
Leaf
#71AA34
ΔE00 3.04
Nasty Green
#70B23F
ΔE00 3.28
Kermit Green
#5CB200
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAB2B #7B2BAB
analogous
#9BAB2B #5BAB2B #2BAB3B
triadic
#5BAB2B #2B5BAB #AB2B5B
tetradic
#5BAB2B #2B9BAB #7B2BAB #AB3B2B
square
#5BAB2B #2B9BAB #7B2BAB #AB3B2B
split-complementary
#5BAB2B #3B2BAB #AB2B9B
monochromatic
#274912 #417A1F #5BAB2B #78D043 #9BDC74
Accessibility & contrast
On white
2.87
#5BAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#5BAB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAB2B
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAB2B | 1.00 | 2.87 | 7.30 | 7.30 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C11
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#57A592
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5bab2b; /* rgb */ color: rgb(91, 171, 43); /* oklch */ color: oklch(66.5% 0.178 136.4);
Tailwind
colors: {
custom: {
50: '#91c56d',
500: '#5bab2b',
950: '#000000',
},
}SCSS
$custom: #5bab2b; $custom-light: #91c56d; $custom-dark: #000000;
JSON
{
"hex": "#5bab2b",
"rgb": {
"r": 91,
"g": 171,
"b": 43
},
"hsl": {
"h": 97.5,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.66512,
"c": 0.17791,
"h": 136.4
},
"luminance": 0.31524
}Semantic roles & 50–950 ramp
primary
#5BAB2B
secondary
#A46EC4
accent
#45E3A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B