#42C270#42C270
#42C270 is a light, vivid green. Relative luminance 0.409; OKLCH L 72.4% C 0.163 H 151.7°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #42C270 |
|---|---|
| RGB | rgb(66, 194, 112) |
| HSL | hsl(142, 51%, 51%) |
| HSV | hsv(142, 66%, 76%) |
| CMYK | cmyk(66%, 0%, 42.3%, 23.9%) |
| CIE-LAB | lab(70.11, -53.13, 31.23) |
| CIE-LCH | lch(70.11, 61.63, 149.55°) |
| OKLab | oklab(72.42% -0.1434 0.0772) |
| OKLCH | oklch(72.42% 0.163 151.7) |
| XYZ | xyz(24.4612, 40.9091, 21.9332) |
| Luminance | 0.4091 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 0.83
Algae Green
#21C36F
ΔE00 1.61
Emerald
#50C878
ΔE00 1.89
Dark Mint Green
#20C073
ΔE00 2.21
Cool Green
#33B864
ΔE00 2.94
Seaweed
#18D17B
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C270 #C24294
analogous
#54C242 #42C270 #42C2B0
triadic
#42C270 #7042C2 #C27042
tetradic
#42C270 #4254C2 #C24294 #C2B042
square
#42C270 #4254C2 #C24294 #C2B042
split-complementary
#42C270 #B042C2 #C24254
monochromatic
#22683B #319655 #42C270 #70D193 #9FE0B6
Accessibility & contrast
On white
2.29
#42C270 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#42C270 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C270
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C270 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C270 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B26A
Deuteranopia (green-blind)
#B2A775
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c270; /* rgb */ color: rgb(66, 194, 112); /* oklch */ color: oklch(72.4% 0.163 151.7);
Tailwind
colors: {
custom: {
50: '#85d59a',
500: '#42c270',
950: '#000000',
},
}SCSS
$custom: #42c270; $custom-light: #85d59a; $custom-dark: #000000;
JSON
{
"hex": "#42c270",
"rgb": {
"r": 66,
"g": 194,
"b": 112
},
"hsl": {
"h": 141.563,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72424,
"c": 0.16286,
"h": 151.7
},
"luminance": 0.40912
}Semantic roles & 50–950 ramp
primary
#42C270
secondary
#CC94B8
accent
#4DA8DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E