#5FB126#5FB126
#5FB126 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.2% C 0.186 H 135.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB126 |
|---|---|
| RGB | rgb(95, 177, 38) |
| HSL | hsl(95, 65%, 42%) |
| HSV | hsv(95, 79%, 69%) |
| CMYK | cmyk(46.3%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(64.98, -47.77, 58.35) |
| CIE-LCH | lch(64.98, 75.41, 129.30°) |
| OKLab | oklab(68.22% -0.1333 0.1296) |
| OKLCH | oklch(68.22% 0.186 135.8) |
| XYZ | xyz(20.7908, 34.0158, 7.3035) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.77
Kermit Green
#5CB200
ΔE00 1.93
Nasty Green
#70B23F
ΔE00 2.75
Leaf Green
#5CA904
ΔE00 2.84
Kelly Green
#4CBB17
ΔE00 3.36
Leaf
#71AA34
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB126 #7826B1
analogous
#A4B126 #5FB126 #26B133
triadic
#5FB126 #265FB1 #B1265F
tetradic
#5FB126 #26A4B1 #7826B1 #B13326
square
#5FB126 #26A4B1 #7826B1 #B13326
split-complementary
#5FB126 #3326B1 #B126A4
monochromatic
#294C10 #447F1B #5FB126 #7DD63F #9FE071
Accessibility & contrast
On white
2.69
#5FB126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#5FB126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB126
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB126 | 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: #5fb126; /* rgb */ color: rgb(95, 177, 38); /* oklch */ color: oklch(68.2% 0.186 135.8);
Tailwind
colors: {
custom: {
50: '#94c96c',
500: '#5fb126',
950: '#000000',
},
}SCSS
$custom: #5fb126; $custom-light: #94c96c; $custom-dark: #000000;
JSON
{
"hex": "#5fb126",
"rgb": {
"r": 95,
"g": 177,
"b": 38
},
"hsl": {
"h": 95.396,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.68216,
"c": 0.18587,
"h": 135.8
},
"luminance": 0.34017
}Semantic roles & 50–950 ramp
primary
#5FB126
secondary
#A26BC7
accent
#40E8A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A