#5BA12E#5BA12E
#5BA12E is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.163 H 135.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA12E |
|---|---|
| RGB | rgb(91, 161, 46) |
| HSL | hsl(97, 56%, 41%) |
| HSV | hsv(97, 71%, 63%) |
| CMYK | cmyk(43.5%, 0%, 71.4%, 36.9%) |
| CIE-LAB | lab(59.81, -42.03, 50.40) |
| CIE-LCH | lch(59.81, 65.63, 129.82°) |
| OKLab | oklab(63.94% -0.117 0.1142) |
| OKLCH | oklch(63.94% 0.163 135.7) |
| XYZ | xyz(17.5520, 27.9101, 7.0466) |
| Luminance | 0.2791 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.93
Grass
#5CAC2D
ΔE00 3.35
Grassy Green
#419C03
ΔE00 3.72
Grass Green
#3F9B0B
ΔE00 3.85
Leaf
#71AA34
ΔE00 4.01
Leaf Green
#5CA904
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA12E #742EA1
analogous
#94A12E #5BA12E #2EA13A
triadic
#5BA12E #2E5BA1 #A12E5B
tetradic
#5BA12E #2E94A1 #742EA1 #A13A2E
square
#5BA12E #2E94A1 #742EA1 #A13A2E
split-complementary
#5BA12E #3A2EA1 #A12E94
monochromatic
#254213 #407120 #5BA12E #77C943 #9AD773
Accessibility & contrast
On white
3.19
#5BA12E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#5BA12E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA12E
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA12E | 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)
#A7941B
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#599B8A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5ba12e; /* rgb */ color: rgb(91, 161, 46); /* oklch */ color: oklch(63.9% 0.163 135.7);
Tailwind
colors: {
custom: {
50: '#8fbd6e',
500: '#5ba12e',
950: '#000000',
},
}SCSS
$custom: #5ba12e; $custom-light: #8fbd6e; $custom-dark: #000000;
JSON
{
"hex": "#5ba12e",
"rgb": {
"r": 91,
"g": 161,
"b": 46
},
"hsl": {
"h": 96.522,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.63943,
"c": 0.16347,
"h": 135.7
},
"luminance": 0.27911
}Semantic roles & 50–950 ramp
primary
#5BA12E
secondary
#9E6CBE
accent
#49DFA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A