#5BAA2A#5BAA2A
#5BAA2A is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.177 H 136.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAA2A |
|---|---|
| RGB | rgb(91, 170, 42) |
| HSL | hsl(97, 60%, 42%) |
| HSV | hsv(97, 75%, 67%) |
| CMYK | cmyk(46.5%, 0%, 75.3%, 33.3%) |
| CIE-LAB | lab(62.63, -46.00, 54.71) |
| CIE-LCH | lch(62.63, 71.48, 130.06°) |
| OKLab | oklab(66.25% -0.128 0.1226) |
| OKLCH | oklch(66.25% 0.177 136.2) |
| XYZ | xyz(19.1065, 31.1395, 7.1938) |
| Luminance | 0.3114 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.62
Leaf Green
#5CA904
ΔE00 2.50
Lawn Green
#4DA409
ΔE00 2.72
Leaf
#71AA34
ΔE00 3.00
Nasty Green
#70B23F
ΔE00 3.47
Kermit Green
#5CB200
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAA2A #792AAA
analogous
#9BAA2A #5BAA2A #2AAA39
triadic
#5BAA2A #2A5BAA #AA2A5B
tetradic
#5BAA2A #2A9BAA #792AAA #AA392A
square
#5BAA2A #2A9BAA #792AAA #AA392A
split-complementary
#5BAA2A #392AAA #AA2A9B
monochromatic
#264812 #41791E #5BAA2A #78D041 #9BDC72
Accessibility & contrast
On white
2.91
#5BAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#5BAA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAA2A
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAA2A | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C0F
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#57A492
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5baa2a; /* rgb */ color: rgb(91, 170, 42); /* oklch */ color: oklch(66.2% 0.177 136.2);
Tailwind
colors: {
custom: {
50: '#91c46d',
500: '#5baa2a',
950: '#000000',
},
}SCSS
$custom: #5baa2a; $custom-light: #91c46d; $custom-dark: #000000;
JSON
{
"hex": "#5baa2a",
"rgb": {
"r": 91,
"g": 170,
"b": 42
},
"hsl": {
"h": 97.031,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.66246,
"c": 0.17726,
"h": 136.2
},
"luminance": 0.31141
}Semantic roles & 50–950 ramp
primary
#5BAA2A
secondary
#A26CC3
accent
#44E4A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A