#42D17C#42D17C
#42D17C is a light, vivid green. Relative luminance 0.482; OKLCH L 76.5% C 0.172 H 153.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #42D17C |
|---|---|
| RGB | rgb(66, 209, 124) |
| HSL | hsl(144, 61%, 54%) |
| HSV | hsv(144, 68%, 82%) |
| CMYK | cmyk(68.4%, 0%, 40.7%, 18%) |
| CIE-LAB | lab(74.96, -56.69, 31.39) |
| CIE-LCH | lch(74.96, 64.80, 151.02°) |
| OKLab | oklab(76.48% -0.1529 0.0779) |
| OKLCH | oklch(76.48% 0.172 153) |
| XYZ | xyz(28.6828, 48.2113, 26.8589) |
| Luminance | 0.4821 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Seaweed
#18D17B
ΔE00 1.63
Emerald
#50C878
ΔE00 2.43
Tealish Green
#0CDC73
ΔE00 3.69
Algae Green
#21C36F
ΔE00 3.90
Dark Mint
#48C072
ΔE00 4.32
Dark Mint Green
#20C073
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42D17C #D14297
analogous
#50D142 #42D17C #42D1C4
triadic
#42D17C #7C42D1 #D17C42
tetradic
#42D17C #4250D1 #D14297 #D1C442
square
#42D17C #4250D1 #D14297 #D1C442
split-complementary
#42D17C #C442D1 #D14250
monochromatic
#1E7B44 #2AAC5F #42D17C #73DD9E #A4E9C0
Accessibility & contrast
On white
1.97
#42D17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#42D17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42D17C
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42D17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42D17C | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C076
Deuteranopia (green-blind)
#BFB482
Tritanopia (blue-blind)
#00CEBC
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #42d17c; /* rgb */ color: rgb(66, 209, 124); /* oklch */ color: oklch(76.5% 0.172 153.0);
Tailwind
colors: {
custom: {
50: '#87e0a3',
500: '#42d17c',
950: '#000000',
},
}SCSS
$custom: #42d17c; $custom-light: #87e0a3; $custom-dark: #000000;
JSON
{
"hex": "#42d17c",
"rgb": {
"r": 66,
"g": 209,
"b": 124
},
"hsl": {
"h": 144.336,
"s": 60.851,
"l": 53.922
},
"oklch": {
"l": 0.76479,
"c": 0.17165,
"h": 153
},
"luminance": 0.48214
}Semantic roles & 50–950 ramp
primary
#42D17C
secondary
#D699BD
accent
#44A3E4
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F