#42C778#42C778
#42C778 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.162 H 153.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #42C778 |
|---|---|
| RGB | rgb(66, 199, 120) |
| HSL | hsl(144, 54%, 52%) |
| HSV | hsv(144, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 39.7%, 22%) |
| CIE-LAB | lab(71.80, -53.62, 29.30) |
| CIE-LCH | lch(71.80, 61.10, 151.35°) |
| OKLab | oklab(73.85% -0.1448 0.0729) |
| OKLCH | oklch(73.85% 0.162 153.3) |
| XYZ | xyz(26.0581, 43.3584, 24.7614) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.12
Dark Mint
#48C072
ΔE00 1.89
Algae Green
#21C36F
ΔE00 2.01
Dark Mint Green
#20C073
ΔE00 2.53
Seaweed
#18D17B
ΔE00 2.93
Cool Green
#33B864
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C778 #C74291
analogous
#4FC742 #42C778 #42C7BB
triadic
#42C778 #7842C7 #C77842
tetradic
#42C778 #424FC7 #C74291 #C7BB42
square
#42C778 #424FC7 #C74291 #C7BB42
split-complementary
#42C778 #BB42C7 #C7424F
monochromatic
#216E40 #2F9D5C #42C778 #71D59A #A0E3BB
Accessibility & contrast
On white
2.17
#42C778 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#42C778 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C778
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C778 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C778 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B773
Deuteranopia (green-blind)
#B6AB7D
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c778; /* rgb */ color: rgb(66, 199, 120); /* oklch */ color: oklch(73.9% 0.162 153.3);
Tailwind
colors: {
custom: {
50: '#86d99f',
500: '#42c778',
950: '#000000',
},
}SCSS
$custom: #42c778; $custom-light: #86d99f; $custom-dark: #000000;
JSON
{
"hex": "#42c778",
"rgb": {
"r": 66,
"g": 199,
"b": 120
},
"hsl": {
"h": 144.361,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73854,
"c": 0.16214,
"h": 153.3
},
"luminance": 0.43361
}Semantic roles & 50–950 ramp
primary
#42C778
secondary
#D095B8
accent
#4AA2DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E