#5BAF29#5BAF29
#5BAF29 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.184 H 136.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF29 |
|---|---|
| RGB | rgb(91, 175, 41) |
| HSL | hsl(98, 62%, 42%) |
| HSV | hsv(98, 77%, 69%) |
| CMYK | cmyk(48%, 0%, 76.6%, 31.4%) |
| CIE-LAB | lab(64.20, -48.06, 56.58) |
| CIE-LCH | lch(64.20, 74.23, 130.34°) |
| OKLab | oklab(67.54% -0.1336 0.1264) |
| OKLCH | oklch(67.54% 0.184 136.6) |
| XYZ | xyz(20.0440, 33.0428, 7.4191) |
| Luminance | 0.3304 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.99
Kermit Green
#5CB200
ΔE00 2.58
Leaf Green
#5CA904
ΔE00 2.82
Nasty Green
#70B23F
ΔE00 2.93
Leafy Green
#51B73B
ΔE00 3.21
Leaf
#71AA34
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF29 #7D29AF
analogous
#9EAF29 #5BAF29 #29AF3A
triadic
#5BAF29 #295BAF #AF295B
tetradic
#5BAF29 #299EAF #7D29AF #AF3A29
square
#5BAF29 #299EAF #7D29AF #AF3A29
split-complementary
#5BAF29 #3A29AF #AF299E
monochromatic
#274C12 #417D1D #5BAF29 #78D342 #9CDE74
Accessibility & contrast
On white
2.76
#5BAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#5BAF29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF29
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF29 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A008
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#57A896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5baf29; /* rgb */ color: rgb(91, 175, 41); /* oklch */ color: oklch(67.5% 0.184 136.6);
Tailwind
colors: {
custom: {
50: '#91c76d',
500: '#5baf29',
950: '#000000',
},
}SCSS
$custom: #5baf29; $custom-light: #91c76d; $custom-dark: #000000;
JSON
{
"hex": "#5baf29",
"rgb": {
"r": 91,
"g": 175,
"b": 41
},
"hsl": {
"h": 97.612,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.67535,
"c": 0.18391,
"h": 136.6
},
"luminance": 0.33044
}Semantic roles & 50–950 ramp
primary
#5BAF29
secondary
#A56EC6
accent
#43E5A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B