#5BAA27#5BAA27
#5BAA27 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.179 H 136.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAA27 |
|---|---|
| RGB | rgb(91, 170, 39) |
| HSL | hsl(96, 63%, 41%) |
| HSV | hsv(96, 77%, 67%) |
| CMYK | cmyk(46.5%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(62.61, -46.19, 55.71) |
| CIE-LCH | lch(62.61, 72.37, 129.66°) |
| OKLab | oklab(66.23% -0.1287 0.1242) |
| OKLCH | oklch(66.23% 0.179 136) |
| XYZ | xyz(19.0548, 31.1189, 6.9215) |
| Luminance | 0.3112 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.76
Leaf Green
#5CA904
ΔE00 2.21
Lawn Green
#4DA409
ΔE00 2.58
Leaf
#71AA34
ΔE00 2.98
Kermit Green
#5CB200
ΔE00 3.33
Nasty Green
#70B23F
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAA27 #7627AA
analogous
#9CAA27 #5BAA27 #27AA34
triadic
#5BAA27 #275BAA #AA275B
tetradic
#5BAA27 #279CAA #7627AA #AA3427
square
#5BAA27 #279CAA #7627AA #AA3427
split-complementary
#5BAA27 #3427AA #AA279C
monochromatic
#264610 #40781C #5BAA27 #78D23C #9ADE6E
Accessibility & contrast
On white
2.91
#5BAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#5BAA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAA27
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAA27 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#58A491
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5baa27; /* rgb */ color: rgb(91, 170, 39); /* oklch */ color: oklch(66.2% 0.179 136.0);
Tailwind
colors: {
custom: {
50: '#91c46b',
500: '#5baa27',
950: '#000000',
},
}SCSS
$custom: #5baa27; $custom-light: #91c46b; $custom-dark: #000000;
JSON
{
"hex": "#5baa27",
"rgb": {
"r": 91,
"g": 170,
"b": 39
},
"hsl": {
"h": 96.183,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.66227,
"c": 0.1789,
"h": 136
},
"luminance": 0.3112
}Semantic roles & 50–950 ramp
primary
#5BAA27
secondary
#A069C4
accent
#42E6A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A