#5FB021#5FB021
#5FB021 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 67.9% C 0.187 H 135.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB021 |
|---|---|
| RGB | rgb(95, 176, 33) |
| HSL | hsl(94, 68%, 41%) |
| HSV | hsv(94, 81%, 69%) |
| CMYK | cmyk(46%, 0%, 81.3%, 31%) |
| CIE-LAB | lab(64.64, -47.63, 59.52) |
| CIE-LCH | lch(64.64, 76.23, 128.67°) |
| OKLab | oklab(67.93% -0.1332 0.1313) |
| OKLCH | oklch(67.93% 0.187 135.4) |
| XYZ | xyz(20.5187, 33.5921, 6.8413) |
| Luminance | 0.3359 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Kermit Green
#5CB200
ΔE00 1.63
Grass
#5CAC2D
ΔE00 1.83
Leaf Green
#5CA904
ΔE00 2.39
Nasty Green
#70B23F
ΔE00 3.02
Leaf
#71AA34
ΔE00 3.29
Kelly Green
#4CBB17
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB021 #7221B0
analogous
#A6B021 #5FB021 #21B02A
triadic
#5FB021 #215FB0 #B0215F
tetradic
#5FB021 #21A6B0 #7221B0 #B02A21
square
#5FB021 #21A6B0 #7221B0 #B02A21
split-complementary
#5FB021 #2A21B0 #B021A6
monochromatic
#27490E #437C17 #5FB021 #7CD935 #9EE369
Accessibility & contrast
On white
2.72
#5FB021 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#5FB021 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB021
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB021 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#5CA996
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #5fb021; /* rgb */ color: rgb(95, 176, 33); /* oklch */ color: oklch(67.9% 0.187 135.4);
Tailwind
colors: {
custom: {
50: '#94c86a',
500: '#5fb021',
950: '#000000',
},
}SCSS
$custom: #5fb021; $custom-light: #94c86a; $custom-dark: #000000;
JSON
{
"hex": "#5fb021",
"rgb": {
"r": 95,
"g": 176,
"b": 33
},
"hsl": {
"h": 93.986,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.67931,
"c": 0.18703,
"h": 135.4
},
"luminance": 0.33593
}Semantic roles & 50–950 ramp
primary
#5FB021
secondary
#9D64C8
accent
#3DEBA0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A