#42C666#42C666
#42C666 is a light, vivid green. Relative luminance 0.425; OKLCH L 73.3% C 0.177 H 148.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #42C666 |
|---|---|
| RGB | rgb(66, 198, 102) |
| HSL | hsl(136, 54%, 52%) |
| HSV | hsv(136, 67%, 78%) |
| CMYK | cmyk(66.7%, 0%, 48.5%, 22.4%) |
| CIE-LAB | lab(71.22, -56.27, 37.71) |
| CIE-LCH | lch(71.22, 67.74, 146.17°) |
| OKLab | oklab(73.29% -0.1517 0.0918) |
| OKLCH | oklch(73.29% 0.177 148.8) |
| XYZ | xyz(24.8373, 42.5031, 19.4628) |
| Luminance | 0.4251 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 2.81
Algae Green
#21C36F
ΔE00 2.99
Dark Mint
#48C072
ΔE00 3.11
Shamrock Green
#02C14D
ΔE00 3.55
Cool Green
#33B864
ΔE00 4.14
Dark Mint Green
#20C073
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C666 #C642A2
analogous
#60C642 #42C666 #42C6A8
triadic
#42C666 #6642C6 #C66642
tetradic
#42C666 #4260C6 #C642A2 #C6A842
square
#42C666 #4260C6 #C642A2 #C6A842
split-complementary
#42C666 #A842C6 #C64260
monochromatic
#216D36 #2F9C4D #42C666 #71D48C #A0E2B2
Accessibility & contrast
On white
2.21
#42C666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#42C666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C666
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C666 | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55E
Deuteranopia (green-blind)
#B7AA6D
Tritanopia (blue-blind)
#04C2AF
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #42c666; /* rgb */ color: rgb(66, 198, 102); /* oklch */ color: oklch(73.3% 0.177 148.8);
Tailwind
colors: {
custom: {
50: '#86d893',
500: '#42c666',
950: '#000000',
},
}SCSS
$custom: #42c666; $custom-light: #86d893; $custom-dark: #000000;
JSON
{
"hex": "#42c666",
"rgb": {
"r": 66,
"g": 198,
"b": 102
},
"hsl": {
"h": 136.364,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.73287,
"c": 0.17728,
"h": 148.8
},
"luminance": 0.42506
}Semantic roles & 50–950 ramp
primary
#42C666
secondary
#CF95BF
accent
#4BB5DD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E