#42C371#42C371
#42C371 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.7% C 0.163 H 151.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #42C371 |
|---|---|
| RGB | rgb(66, 195, 113) |
| HSL | hsl(142, 52%, 51%) |
| HSV | hsv(142, 66%, 76%) |
| CMYK | cmyk(66.2%, 0%, 42.1%, 23.5%) |
| CIE-LAB | lab(70.44, -53.34, 31.14) |
| CIE-LCH | lch(70.44, 61.76, 149.72°) |
| OKLab | oklab(72.7% -0.1439 0.0771) |
| OKLCH | oklch(72.7% 0.163 151.8) |
| XYZ | xyz(24.7405, 41.3781, 22.3025) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 0.98
Algae Green
#21C36F
ΔE00 1.59
Emerald
#50C878
ΔE00 1.66
Dark Mint Green
#20C073
ΔE00 2.26
Cool Green
#33B864
ΔE00 3.19
Seaweed
#18D17B
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C371 #C34294
analogous
#53C342 #42C371 #42C3B1
triadic
#42C371 #7142C3 #C37142
tetradic
#42C371 #4253C3 #C34294 #C3B142
square
#42C371 #4253C3 #C34294 #C3B142
split-complementary
#42C371 #B142C3 #C34253
monochromatic
#21693C #309856 #42C371 #70D294 #9FE0B7
Accessibility & contrast
On white
2.26
#42C371 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#42C371 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C371
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C371 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B36B
Deuteranopia (green-blind)
#B3A876
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #42c371; /* rgb */ color: rgb(66, 195, 113); /* oklch */ color: oklch(72.7% 0.163 151.8);
Tailwind
colors: {
custom: {
50: '#85d69b',
500: '#42c371',
950: '#000000',
},
}SCSS
$custom: #42c371; $custom-light: #85d69b; $custom-dark: #000000;
JSON
{
"hex": "#42c371",
"rgb": {
"r": 66,
"g": 195,
"b": 113
},
"hsl": {
"h": 141.86,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.72699,
"c": 0.16327,
"h": 151.8
},
"luminance": 0.41381
}Semantic roles & 50–950 ramp
primary
#42C371
secondary
#CD94B8
accent
#4DA7DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E