#42C770#42C770
#42C770 is a light, vivid green. Relative luminance 0.432; OKLCH L 73.7% C 0.169 H 151.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #42C770 |
|---|---|
| RGB | rgb(66, 199, 112) |
| HSL | hsl(141, 54%, 52%) |
| HSV | hsv(141, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 43.7%, 22%) |
| CIE-LAB | lab(71.67, -55.02, 33.25) |
| CIE-LCH | lch(71.67, 64.29, 148.86°) |
| OKLab | oklab(73.71% -0.1484 0.0819) |
| OKLCH | oklch(73.71% 0.169 151.1) |
| XYZ | xyz(25.5928, 43.1722, 22.3104) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.43
Algae Green
#21C36F
ΔE00 2.07
Dark Mint
#48C072
ΔE00 2.15
Dark Mint Green
#20C073
ΔE00 3.16
Seaweed
#18D17B
ΔE00 3.20
Cool Green
#33B864
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C770 #C74299
analogous
#57C742 #42C770 #42C7B3
triadic
#42C770 #7042C7 #C77042
tetradic
#42C770 #4257C7 #C74299 #C7B342
square
#42C770 #4257C7 #C74299 #C7B342
split-complementary
#42C770 #B342C7 #C74257
monochromatic
#216E3B #2F9D55 #42C770 #71D594 #A0E3B7
Accessibility & contrast
On white
2.18
#42C770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#42C770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C770
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C770 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B76A
Deuteranopia (green-blind)
#B7AB76
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c770; /* rgb */ color: rgb(66, 199, 112); /* oklch */ color: oklch(73.7% 0.169 151.1);
Tailwind
colors: {
custom: {
50: '#86d99a',
500: '#42c770',
950: '#000000',
},
}SCSS
$custom: #42c770; $custom-light: #86d99a; $custom-dark: #000000;
JSON
{
"hex": "#42c770",
"rgb": {
"r": 66,
"g": 199,
"b": 112
},
"hsl": {
"h": 140.752,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73709,
"c": 0.16949,
"h": 151.1
},
"luminance": 0.43175
}Semantic roles & 50–950 ramp
primary
#42C770
secondary
#D095BB
accent
#4AABDE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E