#5FB127#5FB127
#5FB127 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.2% C 0.185 H 135.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB127 |
|---|---|
| RGB | rgb(95, 177, 39) |
| HSL | hsl(96, 64%, 42%) |
| HSV | hsv(96, 78%, 69%) |
| CMYK | cmyk(46.3%, 0%, 78%, 30.6%) |
| CIE-LAB | lab(64.98, -47.71, 58.04) |
| CIE-LCH | lch(64.98, 75.13, 129.42°) |
| OKLab | oklab(68.22% -0.1331 0.1291) |
| OKLCH | oklch(68.22% 0.185 135.9) |
| XYZ | xyz(20.8071, 34.0223, 7.3896) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.72
Kermit Green
#5CB200
ΔE00 2.02
Nasty Green
#70B23F
ΔE00 2.69
Leaf Green
#5CA904
ΔE00 2.89
Leafy Green
#51B73B
ΔE00 3.35
Leaf
#71AA34
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB127 #7927B1
analogous
#A4B127 #5FB127 #27B134
triadic
#5FB127 #275FB1 #B1275F
tetradic
#5FB127 #27A4B1 #7927B1 #B13427
square
#5FB127 #27A4B1 #7927B1 #B13427
split-complementary
#5FB127 #3427B1 #B127A4
monochromatic
#294D11 #447F1C #5FB127 #7DD540 #9FE072
Accessibility & contrast
On white
2.69
#5FB127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#5FB127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB127
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB127 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#5CAA97
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5fb127; /* rgb */ color: rgb(95, 177, 39); /* oklch */ color: oklch(68.2% 0.185 135.9);
Tailwind
colors: {
custom: {
50: '#94c96c',
500: '#5fb127',
950: '#000000',
},
}SCSS
$custom: #5fb127; $custom-light: #94c96c; $custom-dark: #000000;
JSON
{
"hex": "#5fb127",
"rgb": {
"r": 95,
"g": 177,
"b": 39
},
"hsl": {
"h": 95.652,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.68222,
"c": 0.18538,
"h": 135.9
},
"luminance": 0.34024
}Semantic roles & 50–950 ramp
primary
#5FB127
secondary
#A26DC7
accent
#41E7A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A