#5BA118#5BA118
#5BA118 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.175 H 134.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA118 |
|---|---|
| RGB | rgb(91, 161, 24) |
| HSL | hsl(91, 74%, 36%) |
| HSV | hsv(91, 85%, 63%) |
| CMYK | cmyk(43.5%, 0%, 85.1%, 36.9%) |
| CIE-LAB | lab(59.69, -43.30, 57.39) |
| CIE-LCH | lch(59.69, 71.89, 127.03°) |
| OKLab | oklab(63.81% -0.1218 0.1255) |
| OKLCH | oklch(63.81% 0.175 134.1) |
| XYZ | xyz(17.2238, 27.7789, 5.3183) |
| Luminance | 0.2778 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.89
Leaf Green
#5CA904
ΔE00 2.67
Grassy Green
#419C03
ΔE00 3.29
Grass
#5CAC2D
ΔE00 3.61
Grass Green
#3F9B0B
ΔE00 3.70
Leaf
#71AA34
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA118 #5E18A1
analogous
#A0A118 #5BA118 #18A11A
triadic
#5BA118 #185BA1 #A1185B
tetradic
#5BA118 #18A0A1 #5E18A1 #A11A18
square
#5BA118 #18A0A1 #5E18A1 #A11A18
split-complementary
#5BA118 #1A18A1 #A118A0
monochromatic
#1F3608 #3D6C10 #5BA118 #79D620 #98E54F
Accessibility & contrast
On white
3.20
#5BA118 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#5BA118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA118
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA118 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA118 | 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)
#A89300
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#5A9A89
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5ba118; /* rgb */ color: rgb(91, 161, 24); /* oklch */ color: oklch(63.8% 0.175 134.1);
Tailwind
colors: {
custom: {
50: '#90bd64',
500: '#5ba118',
950: '#000000',
},
}SCSS
$custom: #5ba118; $custom-light: #90bd64; $custom-dark: #000000;
JSON
{
"hex": "#5ba118",
"rgb": {
"r": 91,
"g": 161,
"b": 24
},
"hsl": {
"h": 90.657,
"s": 74.054,
"l": 36.275
},
"oklch": {
"l": 0.63808,
"c": 0.17494,
"h": 134.1
},
"luminance": 0.2778
}Semantic roles & 50–950 ramp
primary
#5BA118
secondary
#8C4EC7
accent
#37F196
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A