#5BAF2A#5BAF2A
#5BAF2A is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.5% C 0.183 H 136.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF2A |
|---|---|
| RGB | rgb(91, 175, 42) |
| HSL | hsl(98, 61%, 43%) |
| HSV | hsv(98, 76%, 69%) |
| CMYK | cmyk(48%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(64.20, -47.99, 56.25) |
| CIE-LCH | lch(64.20, 73.94, 130.47°) |
| OKLab | oklab(67.54% -0.1334 0.1258) |
| OKLCH | oklch(67.54% 0.183 136.7) |
| XYZ | xyz(20.0617, 33.0499, 7.5122) |
| Luminance | 0.3305 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.95
Kermit Green
#5CB200
ΔE00 2.67
Nasty Green
#70B23F
ΔE00 2.89
Leaf Green
#5CA904
ΔE00 2.89
Leafy Green
#51B73B
ΔE00 3.15
Leaf
#71AA34
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF2A #7E2AAF
analogous
#9DAF2A #5BAF2A #2AAF3C
triadic
#5BAF2A #2A5BAF #AF2A5B
tetradic
#5BAF2A #2A9DAF #7E2AAF #AF3C2A
square
#5BAF2A #2A9DAF #7E2AAF #AF3C2A
split-complementary
#5BAF2A #3C2AAF #AF2A9D
monochromatic
#284C12 #417E1E #5BAF2A #78D244 #9CDE75
Accessibility & contrast
On white
2.76
#5BAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#5BAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF2A
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF2A | 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)
#B5A00B
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#57A996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5baf2a; /* rgb */ color: rgb(91, 175, 42); /* oklch */ color: oklch(67.5% 0.183 136.7);
Tailwind
colors: {
custom: {
50: '#91c76d',
500: '#5baf2a',
950: '#000000',
},
}SCSS
$custom: #5baf2a; $custom-light: #91c76d; $custom-dark: #000000;
JSON
{
"hex": "#5baf2a",
"rgb": {
"r": 91,
"g": 175,
"b": 42
},
"hsl": {
"h": 97.895,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.67541,
"c": 0.18337,
"h": 136.7
},
"luminance": 0.33051
}Semantic roles & 50–950 ramp
primary
#5BAF2A
secondary
#A66FC6
accent
#43E4A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B