#5BA825#5BA825
#5BA825 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.178 H 135.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA825 |
|---|---|
| RGB | rgb(91, 168, 37) |
| HSL | hsl(95, 64%, 40%) |
| HSV | hsv(95, 78%, 66%) |
| CMYK | cmyk(45.8%, 0%, 78%, 34.1%) |
| CIE-LAB | lab(61.97, -45.51, 55.75) |
| CIE-LCH | lch(61.97, 71.96, 129.22°) |
| OKLab | oklab(65.7% -0.127 0.124) |
| OKLCH | oklch(65.7% 0.178 135.7) |
| XYZ | xyz(18.6505, 30.3618, 6.6276) |
| Luminance | 0.3036 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.32
Leaf Green
#5CA904
ΔE00 2.08
Lawn Green
#4DA409
ΔE00 2.17
Leaf
#71AA34
ΔE00 3.00
Kermit Green
#5CB200
ΔE00 3.68
Nasty Green
#70B23F
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA825 #7225A8
analogous
#9CA825 #5BA825 #25A830
triadic
#5BA825 #255BA8 #A8255B
tetradic
#5BA825 #259CA8 #7225A8 #A83025
square
#5BA825 #259CA8 #7225A8 #A83025
split-complementary
#5BA825 #3025A8 #A8259C
monochromatic
#25440F #40761A #5BA825 #77D337 #99DE69
Accessibility & contrast
On white
2.97
#5BA825 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#5BA825 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BA825
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA825 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA825 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A01
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5ba825; /* rgb */ color: rgb(91, 168, 37); /* oklch */ color: oklch(65.7% 0.178 135.7);
Tailwind
colors: {
custom: {
50: '#90c26a',
500: '#5ba825',
950: '#000000',
},
}SCSS
$custom: #5ba825; $custom-light: #90c26a; $custom-dark: #000000;
JSON
{
"hex": "#5ba825",
"rgb": {
"r": 91,
"g": 168,
"b": 37
},
"hsl": {
"h": 95.267,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.65695,
"c": 0.17753,
"h": 135.7
},
"luminance": 0.30363
}Semantic roles & 50–950 ramp
primary
#5BA825
secondary
#9D65C4
accent
#41E7A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A