#5BA526#5BA526
#5BA526 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.173 H 135.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA526 |
|---|---|
| RGB | rgb(91, 165, 38) |
| HSL | hsl(95, 63%, 40%) |
| HSV | hsv(95, 77%, 65%) |
| CMYK | cmyk(44.8%, 0%, 77%, 35.3%) |
| CIE-LAB | lab(61.02, -44.23, 54.52) |
| CIE-LCH | lch(61.02, 70.20, 129.05°) |
| OKLab | oklab(64.92% -0.1235 0.1216) |
| OKLCH | oklch(64.92% 0.173 135.4) |
| XYZ | xyz(18.1189, 29.2733, 6.5289) |
| Luminance | 0.2927 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.99
Grass
#5CAC2D
ΔE00 2.11
Leaf Green
#5CA904
ΔE00 2.55
Leaf
#71AA34
ΔE00 3.23
Grassy Green
#419C03
ΔE00 4.01
Grass Green
#3F9B0B
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA526 #7026A5
analogous
#9AA526 #5BA526 #26A531
triadic
#5BA526 #265BA5 #A5265B
tetradic
#5BA526 #269AA5 #7026A5 #A53126
square
#5BA526 #269AA5 #7026A5 #A53126
split-complementary
#5BA526 #3126A5 #A5269A
monochromatic
#24420F #40731B #5BA526 #77D137 #99DC69
Accessibility & contrast
On white
3.06
#5BA526 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#5BA526 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5BA526
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA526 | 1.00 | 3.06 | 6.85 | 6.85 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#599F8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5ba526; /* rgb */ color: rgb(91, 165, 38); /* oklch */ color: oklch(64.9% 0.173 135.4);
Tailwind
colors: {
custom: {
50: '#90c06a',
500: '#5ba526',
950: '#000000',
},
}SCSS
$custom: #5ba526; $custom-light: #90c06a; $custom-dark: #000000;
JSON
{
"hex": "#5ba526",
"rgb": {
"r": 91,
"g": 165,
"b": 38
},
"hsl": {
"h": 94.961,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.64923,
"c": 0.17332,
"h": 135.4
},
"luminance": 0.29274
}Semantic roles & 50–950 ramp
primary
#5BA526
secondary
#9B64C3
accent
#42E6A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A