#42C866#42C866
#42C866 is a light, vivid green. Relative luminance 0.434; OKLCH L 73.8% C 0.180 H 148.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #42C866 |
|---|---|
| RGB | rgb(66, 200, 102) |
| HSL | hsl(136, 55%, 52%) |
| HSV | hsv(136, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 49%, 21.6%) |
| CIE-LAB | lab(71.84, -57.00, 38.49) |
| CIE-LCH | lch(71.84, 68.78, 145.97°) |
| OKLab | oklab(73.8% -0.1536 0.0935) |
| OKLCH | oklch(73.8% 0.18 148.7) |
| XYZ | xyz(25.2974, 43.4234, 19.6162) |
| Luminance | 0.4343 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 2.95
Algae Green
#21C36F
ΔE00 3.32
Dark Mint
#48C072
ΔE00 3.55
Shamrock Green
#02C14D
ΔE00 3.65
Seaweed
#18D17B
ΔE00 4.11
Dark Mint Green
#20C073
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C866 #C842A4
analogous
#61C842 #42C866 #42C8A9
triadic
#42C866 #6642C8 #C86642
tetradic
#42C866 #4261C8 #C842A4 #C8A942
square
#42C866 #4261C8 #C842A4 #C8A942
split-complementary
#42C866 #A942C8 #C84261
monochromatic
#206F36 #2E9F4C #42C866 #71D68C #A1E4B3
Accessibility & contrast
On white
2.17
#42C866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#42C866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C866
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C866 | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB75E
Deuteranopia (green-blind)
#B9AC6D
Tritanopia (blue-blind)
#01C4B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c866; /* rgb */ color: rgb(66, 200, 102); /* oklch */ color: oklch(73.8% 0.180 148.7);
Tailwind
colors: {
custom: {
50: '#86da93',
500: '#42c866',
950: '#000000',
},
}SCSS
$custom: #42c866; $custom-light: #86da93; $custom-dark: #000000;
JSON
{
"hex": "#42c866",
"rgb": {
"r": 66,
"g": 200,
"b": 102
},
"hsl": {
"h": 136.119,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73803,
"c": 0.17987,
"h": 148.7
},
"luminance": 0.43426
}Semantic roles & 50–950 ramp
primary
#42C866
secondary
#D096C0
accent
#4AB6DE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E