#5BAF27#5BAF27
#5BAF27 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.185 H 136.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF27 |
|---|---|
| RGB | rgb(91, 175, 39) |
| HSL | hsl(97, 64%, 42%) |
| HSV | hsv(97, 78%, 69%) |
| CMYK | cmyk(48%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(64.18, -48.18, 57.22) |
| CIE-LCH | lch(64.18, 74.80, 130.09°) |
| OKLab | oklab(67.52% -0.1341 0.1274) |
| OKLCH | oklch(67.52% 0.185 136.5) |
| XYZ | xyz(20.0100, 33.0292, 7.2399) |
| Luminance | 0.3303 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.09
Kermit Green
#5CB200
ΔE00 2.41
Leaf Green
#5CA904
ΔE00 2.68
Nasty Green
#70B23F
ΔE00 3.00
Leafy Green
#51B73B
ΔE00 3.33
Leaf
#71AA34
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF27 #7B27AF
analogous
#9FAF27 #5BAF27 #27AF37
triadic
#5BAF27 #275BAF #AF275B
tetradic
#5BAF27 #279FAF #7B27AF #AF3727
square
#5BAF27 #279FAF #7B27AF #AF3727
split-complementary
#5BAF27 #3727AF #AF279F
monochromatic
#274B11 #417D1C #5BAF27 #78D43F #9BDF71
Accessibility & contrast
On white
2.76
#5BAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#5BAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF27
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF27 | 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)
#B5A001
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#57A896
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5baf27; /* rgb */ color: rgb(91, 175, 39); /* oklch */ color: oklch(67.5% 0.185 136.5);
Tailwind
colors: {
custom: {
50: '#91c76c',
500: '#5baf27',
950: '#000000',
},
}SCSS
$custom: #5baf27; $custom-light: #91c76c; $custom-dark: #000000;
JSON
{
"hex": "#5baf27",
"rgb": {
"r": 91,
"g": 175,
"b": 39
},
"hsl": {
"h": 97.059,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.67522,
"c": 0.18496,
"h": 136.5
},
"luminance": 0.33031
}Semantic roles & 50–950 ramp
primary
#5BAF27
secondary
#A46BC6
accent
#41E7A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A