#42C87E#42C87E
#42C87E is a light, vivid green. Relative luminance 0.440; OKLCH L 74.2% C 0.158 H 154.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #42C87E |
|---|---|
| RGB | rgb(66, 200, 126) |
| HSL | hsl(147, 55%, 52%) |
| HSV | hsv(147, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 37%, 21.6%) |
| CIE-LAB | lab(72.21, -52.89, 26.72) |
| CIE-LCH | lch(72.21, 59.26, 153.20°) |
| OKLab | oklab(74.23% -0.1431 0.0669) |
| OKLCH | oklch(74.23% 0.158 154.9) |
| XYZ | xyz(26.6646, 43.9703, 26.8165) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.77
Dark Mint
#48C072
ΔE00 2.52
Algae Green
#21C36F
ΔE00 2.65
Dark Mint Green
#20C073
ΔE00 2.73
Seaweed
#18D17B
ΔE00 2.97
Greenish Teal
#32BF84
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C87E #C8428C
analogous
#49C842 #42C87E #42C8C1
triadic
#42C87E #7E42C8 #C87E42
tetradic
#42C87E #4249C8 #C8428C #C8C142
square
#42C87E #4249C8 #C8428C #C8C142
split-complementary
#42C87E #C142C8 #C84249
monochromatic
#206F44 #2E9F61 #42C87E #71D69E #A1E4BF
Accessibility & contrast
On white
2.14
#42C87E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#42C87E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C87E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C87E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C87E | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B879
Deuteranopia (green-blind)
#B6AC83
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c87e; /* rgb */ color: rgb(66, 200, 126); /* oklch */ color: oklch(74.2% 0.158 154.9);
Tailwind
colors: {
custom: {
50: '#86daa4',
500: '#42c87e',
950: '#000000',
},
}SCSS
$custom: #42c87e; $custom-light: #86daa4; $custom-dark: #000000;
JSON
{
"hex": "#42c87e",
"rgb": {
"r": 66,
"g": 200,
"b": 126
},
"hsl": {
"h": 146.866,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.74226,
"c": 0.15797,
"h": 154.9
},
"luminance": 0.43973
}Semantic roles & 50–950 ramp
primary
#42C87E
secondary
#D096B6
accent
#4A9CDE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F