#5BA11C#5BA11C
#5BA11C is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.173 H 134.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA11C |
|---|---|
| RGB | rgb(91, 161, 28) |
| HSL | hsl(92, 70%, 37%) |
| HSV | hsv(92, 83%, 63%) |
| CMYK | cmyk(43.5%, 0%, 82.6%, 36.9%) |
| CIE-LAB | lab(59.70, -43.13, 56.35) |
| CIE-LCH | lch(59.70, 70.96, 127.43°) |
| OKLab | oklab(63.83% -0.1212 0.1239) |
| OKLCH | oklch(63.83% 0.173 134.4) |
| XYZ | xyz(17.2685, 27.7968, 5.5538) |
| Luminance | 0.2780 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.93
Leaf Green
#5CA904
ΔE00 2.81
Grassy Green
#419C03
ΔE00 3.27
Grass
#5CAC2D
ΔE00 3.50
Grass Green
#3F9B0B
ΔE00 3.65
Leaf
#71AA34
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA11C #621CA1
analogous
#9EA11C #5BA11C #1CA120
triadic
#5BA11C #1C5BA1 #A11C5B
tetradic
#5BA11C #1C9EA1 #621CA1 #A1201C
square
#5BA11C #1C9EA1 #621CA1 #A1201C
split-complementary
#5BA11C #201CA1 #A11C9E
monochromatic
#20390A #3E6D13 #5BA11C #78D525 #98E256
Accessibility & contrast
On white
3.20
#5BA11C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#5BA11C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA11C
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA11C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA11C | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5ba11c; /* rgb */ color: rgb(91, 161, 28); /* oklch */ color: oklch(63.8% 0.173 134.4);
Tailwind
colors: {
custom: {
50: '#90bd65',
500: '#5ba11c',
950: '#000000',
},
}SCSS
$custom: #5ba11c; $custom-light: #90bd65; $custom-dark: #000000;
JSON
{
"hex": "#5ba11c",
"rgb": {
"r": 91,
"g": 161,
"b": 28
},
"hsl": {
"h": 91.579,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.63826,
"c": 0.17332,
"h": 134.4
},
"luminance": 0.27798
}Semantic roles & 50–950 ramp
primary
#5BA11C
secondary
#8F54C5
accent
#3BED99
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A