#5BA72A#5BA72A
#5BA72A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.5% C 0.174 H 136.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA72A |
|---|---|
| RGB | rgb(91, 167, 42) |
| HSL | hsl(96, 60%, 41%) |
| HSV | hsv(96, 75%, 65%) |
| CMYK | cmyk(45.5%, 0%, 74.9%, 34.5%) |
| CIE-LAB | lab(61.68, -44.79, 53.77) |
| CIE-LCH | lch(61.68, 69.98, 129.79°) |
| OKLab | oklab(65.47% -0.1248 0.1206) |
| OKLCH | oklch(65.47% 0.174 136) |
| XYZ | xyz(18.5505, 30.0276, 7.0085) |
| Luminance | 0.3003 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.47
Lawn Green
#4DA409
ΔE00 2.35
Leaf Green
#5CA904
ΔE00 2.66
Leaf
#71AA34
ΔE00 3.07
Nasty Green
#70B23F
ΔE00 4.04
Kermit Green
#5CB200
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA72A #762AA7
analogous
#99A72A #5BA72A #2AA737
triadic
#5BA72A #2A5BA7 #A72A5B
tetradic
#5BA72A #2A99A7 #762AA7 #A7372A
square
#5BA72A #2A99A7 #762AA7 #A7372A
split-complementary
#5BA72A #372AA7 #A72A99
monochromatic
#264511 #40761E #5BA72A #78CF3F #9ADB70
Accessibility & contrast
On white
3.00
#5BA72A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#5BA72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BA72A
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA72A | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9910
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #5ba72a; /* rgb */ color: rgb(91, 167, 42); /* oklch */ color: oklch(65.5% 0.174 136.0);
Tailwind
colors: {
custom: {
50: '#90c26c',
500: '#5ba72a',
950: '#000000',
},
}SCSS
$custom: #5ba72a; $custom-light: #90c26c; $custom-dark: #000000;
JSON
{
"hex": "#5ba72a",
"rgb": {
"r": 91,
"g": 167,
"b": 42
},
"hsl": {
"h": 96.48,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.65469,
"c": 0.17355,
"h": 136
},
"luminance": 0.30029
}Semantic roles & 50–950 ramp
primary
#5BA72A
secondary
#A06BC2
accent
#45E3A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A