#42C271#42C271
#42C271 is a light, vivid green. Relative luminance 0.409; OKLCH L 72.4% C 0.162 H 152.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #42C271 |
|---|---|
| RGB | rgb(66, 194, 113) |
| HSL | hsl(142, 51%, 51%) |
| HSV | hsv(142, 66%, 76%) |
| CMYK | cmyk(66%, 0%, 41.8%, 23.9%) |
| CIE-LAB | lab(70.13, -52.96, 30.73) |
| CIE-LCH | lch(70.13, 61.23, 149.87°) |
| OKLab | oklab(72.44% -0.1429 0.0761) |
| OKLCH | oklch(72.44% 0.162 152) |
| XYZ | xyz(24.5172, 40.9315, 22.2281) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 0.73
Algae Green
#21C36F
ΔE00 1.60
Emerald
#50C878
ΔE00 1.86
Dark Mint Green
#20C073
ΔE00 2.10
Cool Green
#33B864
ΔE00 2.99
Seaweed
#18D17B
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C271 #C24293
analogous
#53C242 #42C271 #42C2B1
triadic
#42C271 #7142C2 #C27142
tetradic
#42C271 #4253C2 #C24293 #C2B142
square
#42C271 #4253C2 #C24293 #C2B142
split-complementary
#42C271 #B142C2 #C24253
monochromatic
#22683B #319656 #42C271 #70D194 #9FE0B7
Accessibility & contrast
On white
2.29
#42C271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#42C271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C271
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C271 | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B26B
Deuteranopia (green-blind)
#B2A776
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c271; /* rgb */ color: rgb(66, 194, 113); /* oklch */ color: oklch(72.4% 0.162 152.0);
Tailwind
colors: {
custom: {
50: '#85d59a',
500: '#42c271',
950: '#000000',
},
}SCSS
$custom: #42c271; $custom-light: #85d59a; $custom-dark: #000000;
JSON
{
"hex": "#42c271",
"rgb": {
"r": 66,
"g": 194,
"b": 113
},
"hsl": {
"h": 142.031,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72442,
"c": 0.16193,
"h": 152
},
"luminance": 0.40934
}Semantic roles & 50–950 ramp
primary
#42C271
secondary
#CC94B7
accent
#4DA7DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E