#42C780#42C780
#42C780 is a light, vivid green. Relative luminance 0.436; OKLCH L 74.0% C 0.155 H 155.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #42C780 |
|---|---|
| RGB | rgb(66, 199, 128) |
| HSL | hsl(148, 54%, 52%) |
| HSV | hsv(148, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 35.7%, 22%) |
| CIE-LAB | lab(71.93, -52.12, 25.30) |
| CIE-LCH | lch(71.93, 57.94, 154.11°) |
| OKLab | oklab(74.01% -0.1412 0.0635) |
| OKLCH | oklch(74.01% 0.155 155.8) |
| XYZ | xyz(26.5641, 43.5607, 27.4260) |
| Luminance | 0.4356 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 2.25
Dark Mint
#48C072
ΔE00 2.68
Dark Mint Green
#20C073
ΔE00 2.71
Algae Green
#21C36F
ΔE00 2.92
Greenish Teal
#32BF84
ΔE00 3.30
Seaweed
#18D17B
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C780 #C74289
analogous
#47C742 #42C780 #42C7C3
triadic
#42C780 #8042C7 #C78042
tetradic
#42C780 #4247C7 #C74289 #C7C342
square
#42C780 #4247C7 #C74289 #C7C342
split-complementary
#42C780 #C342C7 #C74247
monochromatic
#216E45 #2F9D62 #42C780 #71D5A0 #A0E3BF
Accessibility & contrast
On white
2.16
#42C780 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#42C780 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C780
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C780 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C780 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B87B
Deuteranopia (green-blind)
#B5AB85
Tritanopia (blue-blind)
#00C5B5
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c780; /* rgb */ color: rgb(66, 199, 128); /* oklch */ color: oklch(74.0% 0.155 155.8);
Tailwind
colors: {
custom: {
50: '#86d9a5',
500: '#42c780',
950: '#000000',
},
}SCSS
$custom: #42c780; $custom-light: #86d9a5; $custom-dark: #000000;
JSON
{
"hex": "#42c780",
"rgb": {
"r": 66,
"g": 199,
"b": 128
},
"hsl": {
"h": 147.97,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.74011,
"c": 0.15482,
"h": 155.8
},
"luminance": 0.43564
}Semantic roles & 50–950 ramp
primary
#42C780
secondary
#D095B4
accent
#4A99DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F