#5FA71C#5FA71C
#5FA71C is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.6% C 0.178 H 134.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA71C |
|---|---|
| RGB | rgb(95, 167, 28) |
| HSL | hsl(91, 71%, 38%) |
| HSV | hsv(91, 83%, 65%) |
| CMYK | cmyk(43.1%, 0%, 83.2%, 34.5%) |
| CIE-LAB | lab(61.79, -44.23, 58.30) |
| CIE-LCH | lch(61.79, 73.18, 127.19°) |
| OKLab | oklab(65.58% -0.1244 0.128) |
| OKLCH | oklch(65.58% 0.178 134.2) |
| XYZ | xyz(18.7473, 30.1531, 5.9307) |
| Luminance | 0.3015 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf Green
#5CA904
ΔE00 1.29
Grass
#5CAC2D
ΔE00 2.21
Lawn Green
#4DA409
ΔE00 2.21
Leaf
#71AA34
ΔE00 2.79
Kermit Green
#5CB200
ΔE00 3.48
Nasty Green
#70B23F
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA71C #641CA7
analogous
#A4A71C #5FA71C #1CA71E
triadic
#5FA71C #1C5FA7 #A71C5F
tetradic
#5FA71C #1CA4A7 #641CA7 #A71E1C
square
#5FA71C #1CA4A7 #641CA7 #A71E1C
split-complementary
#5FA71C #1E1CA7 #A71CA4
monochromatic
#233E0A #417313 #5FA71C #7DDB26 #9CE35A
Accessibility & contrast
On white
2.99
#5FA71C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#5FA71C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FA71C
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA71C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA71C | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#5EA08E
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #5fa71c; /* rgb */ color: rgb(95, 167, 28); /* oklch */ color: oklch(65.6% 0.178 134.2);
Tailwind
colors: {
custom: {
50: '#93c266',
500: '#5fa71c',
950: '#000000',
},
}SCSS
$custom: #5fa71c; $custom-light: #93c266; $custom-dark: #000000;
JSON
{
"hex": "#5fa71c",
"rgb": {
"r": 95,
"g": 167,
"b": 28
},
"hsl": {
"h": 91.079,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.65584,
"c": 0.17846,
"h": 134.2
},
"luminance": 0.30154
}Semantic roles & 50–950 ramp
primary
#5FA71C
secondary
#9158C7
accent
#3AEE97
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A