#42C971#42C971
#42C971 is a light, vivid green. Relative luminance 0.441; OKLCH L 74.2% C 0.171 H 151.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #42C971 |
|---|---|
| RGB | rgb(66, 201, 113) |
| HSL | hsl(141, 56%, 52%) |
| HSV | hsv(141, 67%, 79%) |
| CMYK | cmyk(67.2%, 0%, 43.8%, 21.2%) |
| CIE-LAB | lab(72.31, -55.60, 33.56) |
| CIE-LCH | lch(72.31, 64.95, 148.88°) |
| OKLab | oklab(74.24% -0.1499 0.0827) |
| OKLCH | oklch(74.24% 0.171 151.1) |
| XYZ | xyz(26.1119, 44.1210, 22.7597) |
| Luminance | 0.4412 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.46
Algae Green
#21C36F
ΔE00 2.39
Dark Mint
#48C072
ΔE00 2.61
Seaweed
#18D17B
ΔE00 2.85
Dark Mint Green
#20C073
ΔE00 3.51
Soft Green
#6FC276
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C971 #C9429A
analogous
#56C942 #42C971 #42C9B5
triadic
#42C971 #7142C9 #C97142
tetradic
#42C971 #4256C9 #C9429A #C9B542
square
#42C971 #4256C9 #C9429A #C9B542
split-complementary
#42C971 #B542C9 #C94256
monochromatic
#20703C #2EA056 #42C971 #72D795 #A1E4B9
Accessibility & contrast
On white
2.14
#42C971 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#42C971 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C971
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C971 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C971 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB86A
Deuteranopia (green-blind)
#B9AD77
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c971; /* rgb */ color: rgb(66, 201, 113); /* oklch */ color: oklch(74.2% 0.171 151.1);
Tailwind
colors: {
custom: {
50: '#86da9b',
500: '#42c971',
950: '#000000',
},
}SCSS
$custom: #42c971; $custom-light: #86da9b; $custom-dark: #000000;
JSON
{
"hex": "#42c971",
"rgb": {
"r": 66,
"g": 201,
"b": 113
},
"hsl": {
"h": 140.889,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.7424,
"c": 0.17121,
"h": 151.1
},
"luminance": 0.44124
}Semantic roles & 50–950 ramp
primary
#42C971
secondary
#D196BC
accent
#49ABDF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E