#42C879#42C879
#42C879 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.1% C 0.163 H 153.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #42C879 |
|---|---|
| RGB | rgb(66, 200, 121) |
| HSL | hsl(145, 55%, 52%) |
| HSV | hsv(145, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 39.5%, 21.6%) |
| CIE-LAB | lab(72.12, -53.82, 29.21) |
| CIE-LCH | lch(72.12, 61.24, 151.51°) |
| OKLab | oklab(74.13% -0.1454 0.0727) |
| OKLCH | oklch(74.13% 0.163 153.4) |
| XYZ | xyz(26.3500, 43.8444, 25.1596) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.11
Dark Mint
#48C072
ΔE00 2.15
Algae Green
#21C36F
ΔE00 2.18
Dark Mint Green
#20C073
ΔE00 2.71
Seaweed
#18D17B
ΔE00 2.73
Greenish Teal
#32BF84
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C879 #C84291
analogous
#4EC842 #42C879 #42C8BC
triadic
#42C879 #7942C8 #C87942
tetradic
#42C879 #424EC8 #C84291 #C8BC42
square
#42C879 #424EC8 #C84291 #C8BC42
split-complementary
#42C879 #BC42C8 #C8424E
monochromatic
#206F41 #2E9F5C #42C879 #71D69B #A1E4BC
Accessibility & contrast
On white
2.15
#42C879 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#42C879 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C879
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C879 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C879 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B874
Deuteranopia (green-blind)
#B7AC7E
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c879; /* rgb */ color: rgb(66, 200, 121); /* oklch */ color: oklch(74.1% 0.163 153.4);
Tailwind
colors: {
custom: {
50: '#86daa0',
500: '#42c879',
950: '#000000',
},
}SCSS
$custom: #42c879; $custom-light: #86daa0; $custom-dark: #000000;
JSON
{
"hex": "#42c879",
"rgb": {
"r": 66,
"g": 200,
"b": 121
},
"hsl": {
"h": 144.627,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.74129,
"c": 0.16255,
"h": 153.4
},
"luminance": 0.43847
}Semantic roles & 50–950 ramp
primary
#42C879
secondary
#D096B8
accent
#4AA1DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E