#5FAB2C#5FAB2C
#5FAB2C is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.7% C 0.175 H 135.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAB2C |
|---|---|
| RGB | rgb(95, 171, 44) |
| HSL | hsl(96, 59%, 42%) |
| HSV | hsv(96, 74%, 67%) |
| CMYK | cmyk(44.4%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(63.13, -44.98, 54.56) |
| CIE-LCH | lch(63.13, 70.71, 129.51°) |
| OKLab | oklab(66.71% -0.1254 0.1225) |
| OKLCH | oklch(66.71% 0.175 135.7) |
| XYZ | xyz(19.7364, 31.7394, 7.4687) |
| Luminance | 0.3174 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.53
Leaf Green
#5CA904
ΔE00 2.51
Leaf
#71AA34
ΔE00 2.55
Nasty Green
#70B23F
ΔE00 2.97
Lawn Green
#4DA409
ΔE00 3.15
Kermit Green
#5CB200
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAB2C #782CAB
analogous
#9EAB2C #5FAB2C #2CAB39
triadic
#5FAB2C #2C5FAB #AB2C5F
tetradic
#5FAB2C #2C9EAB #782CAB #AB392C
square
#5FAB2C #2C9EAB #782CAB #AB392C
split-complementary
#5FAB2C #392CAB #AB2C9E
monochromatic
#294A13 #447A1F #5FAB2C #7DCF45 #9FDC76
Accessibility & contrast
On white
2.86
#5FAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#5FAB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAB2C
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAB2C | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D13
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #5fab2c; /* rgb */ color: rgb(95, 171, 44); /* oklch */ color: oklch(66.7% 0.175 135.7);
Tailwind
colors: {
custom: {
50: '#93c46e',
500: '#5fab2c',
950: '#000000',
},
}SCSS
$custom: #5fab2c; $custom-light: #93c46e; $custom-dark: #000000;
JSON
{
"hex": "#5fab2c",
"rgb": {
"r": 95,
"g": 171,
"b": 44
},
"hsl": {
"h": 95.906,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.6671,
"c": 0.1753,
"h": 135.7
},
"luminance": 0.31741
}Semantic roles & 50–950 ramp
primary
#5FAB2C
secondary
#A26FC3
accent
#46E2A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B