#42C782#42C782
#42C782 is a light, vivid green. Relative luminance 0.436; OKLCH L 74.1% C 0.153 H 156.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #42C782 |
|---|---|
| RGB | rgb(66, 199, 130) |
| HSL | hsl(149, 54%, 52%) |
| HSV | hsv(149, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 34.7%, 22%) |
| CIE-LAB | lab(71.97, -51.73, 24.30) |
| CIE-LCH | lch(71.97, 57.15, 154.84°) |
| OKLab | oklab(74.05% -0.1403 0.0611) |
| OKLCH | oklch(74.05% 0.153 156.4) |
| XYZ | xyz(26.6970, 43.6139, 28.1261) |
| Luminance | 0.4362 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 2.62
Dark Mint Green
#20C073
ΔE00 2.90
Dark Mint
#48C072
ΔE00 2.99
Greenish Teal
#32BF84
ΔE00 3.02
Algae Green
#21C36F
ΔE00 3.24
Greenblue
#23C48B
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C782 #C74287
analogous
#45C742 #42C782 #42C7C5
triadic
#42C782 #8242C7 #C78242
tetradic
#42C782 #4245C7 #C74287 #C7C542
square
#42C782 #4245C7 #C74287 #C7C542
split-complementary
#42C782 #C542C7 #C74245
monochromatic
#216E46 #2F9D64 #42C782 #71D5A1 #A0E3C0
Accessibility & contrast
On white
2.16
#42C782 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#42C782 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C782
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C782 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C782 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B87E
Deuteranopia (green-blind)
#B5AC86
Tritanopia (blue-blind)
#00C5B5
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c782; /* rgb */ color: rgb(66, 199, 130); /* oklch */ color: oklch(74.1% 0.153 156.4);
Tailwind
colors: {
custom: {
50: '#86d9a6',
500: '#42c782',
950: '#000000',
},
}SCSS
$custom: #42c782; $custom-light: #86d9a6; $custom-dark: #000000;
JSON
{
"hex": "#42c782",
"rgb": {
"r": 66,
"g": 199,
"b": 130
},
"hsl": {
"h": 148.872,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.74052,
"c": 0.15301,
"h": 156.4
},
"luminance": 0.43617
}Semantic roles & 50–950 ramp
primary
#42C782
secondary
#D095B3
accent
#4A97DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F