#5BA42E#5BA42E
#5BA42E is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.7% C 0.167 H 136.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA42E |
|---|---|
| RGB | rgb(91, 164, 46) |
| HSL | hsl(97, 56%, 41%) |
| HSV | hsv(97, 72%, 64%) |
| CMYK | cmyk(44.5%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(60.76, -43.28, 51.37) |
| CIE-LCH | lch(60.76, 67.17, 130.11°) |
| OKLab | oklab(64.72% -0.1204 0.1162) |
| OKLCH | oklch(64.72% 0.167 136) |
| XYZ | xyz(18.0825, 28.9712, 7.2234) |
| Luminance | 0.2897 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.42
Lawn Green
#4DA409
ΔE00 2.64
Leaf Green
#5CA904
ΔE00 3.48
Leaf
#71AA34
ΔE00 3.49
Grassy Green
#419C03
ΔE00 4.09
Mid Green
#50A747
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA42E #772EA4
analogous
#96A42E #5BA42E #2EA43C
triadic
#5BA42E #2E5BA4 #A42E5B
tetradic
#5BA42E #2E96A4 #772EA4 #A43C2E
square
#5BA42E #2E96A4 #772EA4 #A43C2E
split-complementary
#5BA42E #3C2EA4 #A42E96
monochromatic
#264413 #407421 #5BA42E #78CB45 #9AD874
Accessibility & contrast
On white
3.09
#5BA42E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#5BA42E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA42E
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA42E | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961A
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#589E8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5ba42e; /* rgb */ color: rgb(91, 164, 46); /* oklch */ color: oklch(64.7% 0.167 136.0);
Tailwind
colors: {
custom: {
50: '#90bf6e',
500: '#5ba42e',
950: '#000000',
},
}SCSS
$custom: #5ba42e; $custom-light: #90bf6e; $custom-dark: #000000;
JSON
{
"hex": "#5ba42e",
"rgb": {
"r": 91,
"g": 164,
"b": 46
},
"hsl": {
"h": 97.119,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.64721,
"c": 0.16731,
"h": 136
},
"luminance": 0.28972
}Semantic roles & 50–950 ramp
primary
#5BA42E
secondary
#A16EC0
accent
#48DFA6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B