#5BA92A#5BA92A
#5BA92A is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.0% C 0.176 H 136.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA92A |
|---|---|
| RGB | rgb(91, 169, 42) |
| HSL | hsl(97, 60%, 41%) |
| HSV | hsv(97, 75%, 66%) |
| CMYK | cmyk(46.2%, 0%, 75.1%, 33.7%) |
| CIE-LAB | lab(62.31, -45.60, 54.40) |
| CIE-LCH | lch(62.31, 70.98, 129.97°) |
| OKLab | oklab(65.99% -0.1269 0.1219) |
| OKLCH | oklch(65.99% 0.176 136.2) |
| XYZ | xyz(18.9198, 30.7661, 7.1315) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.89
Leaf Green
#5CA904
ΔE00 2.52
Lawn Green
#4DA409
ΔE00 2.57
Leaf
#71AA34
ΔE00 2.99
Nasty Green
#70B23F
ΔE00 3.64
Kermit Green
#5CB200
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA92A #782AA9
analogous
#9BA92A #5BA92A #2AA938
triadic
#5BA92A #2A5BA9 #A92A5B
tetradic
#5BA92A #2A9BA9 #782AA9 #A9382A
square
#5BA92A #2A9BA9 #782AA9 #A9382A
split-complementary
#5BA92A #382AA9 #A92A9B
monochromatic
#264712 #41781E #5BA92A #78D041 #9BDC72
Accessibility & contrast
On white
2.94
#5BA92A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#5BA92A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BA92A
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA92A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA92A | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5ba92a; /* rgb */ color: rgb(91, 169, 42); /* oklch */ color: oklch(66.0% 0.176 136.2);
Tailwind
colors: {
custom: {
50: '#90c36d',
500: '#5ba92a',
950: '#000000',
},
}SCSS
$custom: #5ba92a; $custom-light: #90c36d; $custom-dark: #000000;
JSON
{
"hex": "#5ba92a",
"rgb": {
"r": 91,
"g": 169,
"b": 42
},
"hsl": {
"h": 96.85,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.65987,
"c": 0.17602,
"h": 136.2
},
"luminance": 0.30767
}Semantic roles & 50–950 ramp
primary
#5BA92A
secondary
#A16CC3
accent
#44E3A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A