#5FAC2A#5FAC2A
#5FAC2A is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.0% C 0.178 H 135.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAC2A |
|---|---|
| RGB | rgb(95, 172, 42) |
| HSL | hsl(96, 61%, 42%) |
| HSV | hsv(96, 76%, 67%) |
| CMYK | cmyk(44.8%, 0%, 75.6%, 32.5%) |
| CIE-LAB | lab(63.43, -45.52, 55.55) |
| CIE-LCH | lch(63.43, 71.82, 129.33°) |
| OKLab | oklab(66.95% -0.127 0.1243) |
| OKLCH | oklch(66.95% 0.178 135.6) |
| XYZ | xyz(19.8893, 32.1039, 7.3387) |
| Luminance | 0.3211 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.59
Leaf Green
#5CA904
ΔE00 2.37
Leaf
#71AA34
ΔE00 2.62
Nasty Green
#70B23F
ΔE00 2.89
Kermit Green
#5CB200
ΔE00 2.99
Lawn Green
#4DA409
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAC2A #772AAC
analogous
#A0AC2A #5FAC2A #2AAC36
triadic
#5FAC2A #2A5FAC #AC2A5F
tetradic
#5FAC2A #2AA0AC #772AAC #AC362A
square
#5FAC2A #2AA0AC #772AAC #AC362A
split-complementary
#5FAC2A #362AAC #AC2AA0
monochromatic
#294A12 #447B1E #5FAC2A #7CD142 #9EDD73
Accessibility & contrast
On white
2.83
#5FAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#5FAC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAC2A
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAC2A | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E0D
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #5fac2a; /* rgb */ color: rgb(95, 172, 42); /* oklch */ color: oklch(67.0% 0.178 135.6);
Tailwind
colors: {
custom: {
50: '#93c56d',
500: '#5fac2a',
950: '#000000',
},
}SCSS
$custom: #5fac2a; $custom-light: #93c56d; $custom-dark: #000000;
JSON
{
"hex": "#5fac2a",
"rgb": {
"r": 95,
"g": 172,
"b": 42
},
"hsl": {
"h": 95.538,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.66954,
"c": 0.1777,
"h": 135.6
},
"luminance": 0.32105
}Semantic roles & 50–950 ramp
primary
#5FAC2A
secondary
#A16DC4
accent
#44E4A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B