#42C779#42C779
#42C779 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.161 H 153.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #42C779 |
|---|---|
| RGB | rgb(66, 199, 121) |
| HSL | hsl(145, 54%, 52%) |
| HSV | hsv(145, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 39.2%, 22%) |
| CIE-LAB | lab(71.81, -53.44, 28.80) |
| CIE-LCH | lch(71.81, 60.71, 151.68°) |
| OKLab | oklab(73.87% -0.1444 0.0718) |
| OKLCH | oklch(73.87% 0.161 153.6) |
| XYZ | xyz(26.1191, 43.3828, 25.0827) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.20
Dark Mint
#48C072
ΔE00 1.94
Algae Green
#21C36F
ΔE00 2.08
Dark Mint Green
#20C073
ΔE00 2.50
Seaweed
#18D17B
ΔE00 2.95
Greenish Teal
#32BF84
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C779 #C74290
analogous
#4EC742 #42C779 #42C7BC
triadic
#42C779 #7942C7 #C77942
tetradic
#42C779 #424EC7 #C74290 #C7BC42
square
#42C779 #424EC7 #C74290 #C7BC42
split-complementary
#42C779 #BC42C7 #C7424E
monochromatic
#216E41 #2F9D5C #42C779 #71D59A #A0E3BC
Accessibility & contrast
On white
2.17
#42C779 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#42C779 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C779
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C779 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C779 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B774
Deuteranopia (green-blind)
#B6AB7E
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c779; /* rgb */ color: rgb(66, 199, 121); /* oklch */ color: oklch(73.9% 0.161 153.6);
Tailwind
colors: {
custom: {
50: '#86d9a0',
500: '#42c779',
950: '#000000',
},
}SCSS
$custom: #42c779; $custom-light: #86d9a0; $custom-dark: #000000;
JSON
{
"hex": "#42c779",
"rgb": {
"r": 66,
"g": 199,
"b": 121
},
"hsl": {
"h": 144.812,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73873,
"c": 0.16121,
"h": 153.6
},
"luminance": 0.43386
}Semantic roles & 50–950 ramp
primary
#42C779
secondary
#D095B7
accent
#4AA1DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E