#5BA121#5BA121
#5BA121 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.9% C 0.171 H 134.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA121 |
|---|---|
| RGB | rgb(91, 161, 33) |
| HSL | hsl(93, 66%, 38%) |
| HSV | hsv(93, 80%, 63%) |
| CMYK | cmyk(43.5%, 0%, 79.5%, 36.9%) |
| CIE-LAB | lab(59.73, -42.87, 54.90) |
| CIE-LCH | lch(59.73, 69.66, 127.99°) |
| OKLab | oklab(63.85% -0.1202 0.1217) |
| OKLCH | oklch(63.85% 0.171 134.7) |
| XYZ | xyz(17.3334, 27.8227, 5.8955) |
| Luminance | 0.2782 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.07
Leaf Green
#5CA904
ΔE00 3.06
Grassy Green
#419C03
ΔE00 3.29
Grass
#5CAC2D
ΔE00 3.37
Grass Green
#3F9B0B
ΔE00 3.61
Leaf
#71AA34
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA121 #6721A1
analogous
#9BA121 #5BA121 #21A127
triadic
#5BA121 #215BA1 #A1215B
tetradic
#5BA121 #219BA1 #6721A1 #A12721
square
#5BA121 #219BA1 #6721A1 #A12721
split-complementary
#5BA121 #2721A1 #A1219B
monochromatic
#223B0C #3E6E17 #5BA121 #78D42C #98DE5E
Accessibility & contrast
On white
3.20
#5BA121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#5BA121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA121
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA121 | 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)
#9E8E2F
Tritanopia (blue-blind)
#5A9B89
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5ba121; /* rgb */ color: rgb(91, 161, 33); /* oklch */ color: oklch(63.9% 0.171 134.7);
Tailwind
colors: {
custom: {
50: '#90bd67',
500: '#5ba121',
950: '#000000',
},
}SCSS
$custom: #5ba121; $custom-light: #90bd67; $custom-dark: #000000;
JSON
{
"hex": "#5ba121",
"rgb": {
"r": 91,
"g": 161,
"b": 33
},
"hsl": {
"h": 92.813,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.63853,
"c": 0.171,
"h": 134.7
},
"luminance": 0.27824
}Semantic roles & 50–950 ramp
primary
#5BA121
secondary
#945BC3
accent
#3FE99C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A