#42C77E#42C77E
#42C77E is a light, vivid green. Relative luminance 0.435; OKLCH L 74.0% C 0.157 H 155.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #42C77E |
|---|---|
| RGB | rgb(66, 199, 126) |
| HSL | hsl(147, 54%, 52%) |
| HSV | hsv(147, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 36.7%, 22%) |
| CIE-LAB | lab(71.90, -52.50, 26.30) |
| CIE-LCH | lch(71.90, 58.73, 153.39°) |
| OKLab | oklab(73.97% -0.1421 0.0659) |
| OKLCH | oklch(73.97% 0.157 155.1) |
| XYZ | xyz(26.4337, 43.5086, 26.7395) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.91
Dark Mint
#48C072
ΔE00 2.41
Dark Mint Green
#20C073
ΔE00 2.58
Algae Green
#21C36F
ΔE00 2.63
Seaweed
#18D17B
ΔE00 3.22
Greenish Teal
#32BF84
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C77E #C7428B
analogous
#48C742 #42C77E #42C7C1
triadic
#42C77E #7E42C7 #C77E42
tetradic
#42C77E #4248C7 #C7428B #C7C142
square
#42C77E #4248C7 #C7428B #C7C142
split-complementary
#42C77E #C142C7 #C74248
monochromatic
#216E44 #2F9D60 #42C77E #71D59E #A0E3BE
Accessibility & contrast
On white
2.16
#42C77E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#42C77E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C77E
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C77E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C77E | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#B5AB83
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c77e; /* rgb */ color: rgb(66, 199, 126); /* oklch */ color: oklch(74.0% 0.157 155.1);
Tailwind
colors: {
custom: {
50: '#86d9a4',
500: '#42c77e',
950: '#000000',
},
}SCSS
$custom: #42c77e; $custom-light: #86d9a4; $custom-dark: #000000;
JSON
{
"hex": "#42c77e",
"rgb": {
"r": 66,
"g": 199,
"b": 126
},
"hsl": {
"h": 147.068,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73971,
"c": 0.15663,
"h": 155.1
},
"luminance": 0.43511
}Semantic roles & 50–950 ramp
primary
#42C77E
secondary
#D095B5
accent
#4A9BDE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F