#5BA12A#5BA12A
#5BA12A is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.166 H 135.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA12A |
|---|---|
| RGB | rgb(91, 161, 42) |
| HSL | hsl(95, 59%, 40%) |
| HSV | hsv(95, 74%, 63%) |
| CMYK | cmyk(43.5%, 0%, 73.9%, 36.9%) |
| CIE-LAB | lab(59.78, -42.32, 51.89) |
| CIE-LCH | lch(59.78, 66.96, 129.20°) |
| OKLab | oklab(63.91% -0.1181 0.1167) |
| OKLCH | oklch(63.91% 0.166 135.3) |
| XYZ | xyz(17.4768, 27.8801, 6.6505) |
| Luminance | 0.2788 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.59
Grass
#5CAC2D
ΔE00 3.29
Grassy Green
#419C03
ΔE00 3.52
Leaf Green
#5CA904
ΔE00 3.70
Grass Green
#3F9B0B
ΔE00 3.71
Leaf
#71AA34
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA12A #702AA1
analogous
#97A12A #5BA12A #2AA134
triadic
#5BA12A #2A5BA1 #A12A5B
tetradic
#5BA12A #2A97A1 #702AA1 #A1342A
square
#5BA12A #2A97A1 #702AA1 #A1342A
split-complementary
#5BA12A #342AA1 #A12A97
monochromatic
#244011 #40701D #5BA12A #77CC3C #99D96D
Accessibility & contrast
On white
3.19
#5BA12A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#5BA12A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA12A
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA12A | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5ba12a; /* rgb */ color: rgb(91, 161, 42); /* oklch */ color: oklch(63.9% 0.166 135.3);
Tailwind
colors: {
custom: {
50: '#8fbd6c',
500: '#5ba12a',
950: '#000000',
},
}SCSS
$custom: #5ba12a; $custom-light: #8fbd6c; $custom-dark: #000000;
JSON
{
"hex": "#5ba12a",
"rgb": {
"r": 91,
"g": 161,
"b": 42
},
"hsl": {
"h": 95.294,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.63912,
"c": 0.16602,
"h": 135.3
},
"luminance": 0.27881
}Semantic roles & 50–950 ramp
primary
#5BA12A
secondary
#9B67C0
accent
#46E2A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A