#42C166#42C166
#42C166 is a light, vivid green. Relative luminance 0.403; OKLCH L 72.0% C 0.171 H 149.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #42C166 |
|---|---|
| RGB | rgb(66, 193, 102) |
| HSL | hsl(137, 51%, 51%) |
| HSV | hsv(137, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 47.2%, 24.3%) |
| CIE-LAB | lab(69.65, -54.42, 35.74) |
| CIE-LCH | lch(69.65, 65.11, 146.71°) |
| OKLab | oklab(72% -0.1467 0.0873) |
| OKLCH | oklch(72% 0.171 149.3) |
| XYZ | xyz(23.7132, 40.2550, 19.0881) |
| Luminance | 0.4026 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 2.19
Algae Green
#21C36F
ΔE00 2.50
Cool Green
#33B864
ΔE00 2.79
Emerald
#50C878
ΔE00 2.91
Dark Mint Green
#20C073
ΔE00 3.44
Shamrock Green
#02C14D
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C166 #C1429D
analogous
#5DC142 #42C166 #42C1A5
triadic
#42C166 #6642C1 #C16642
tetradic
#42C166 #425DC1 #C1429D #C1A542
square
#42C166 #425DC1 #C1429D #C1A542
split-complementary
#42C166 #A542C1 #C1425D
monochromatic
#226735 #31954D #42C166 #70D08B #9EDFB1
Accessibility & contrast
On white
2.32
#42C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#42C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C166
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C166 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B15F
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#0CBDAB
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #42c166; /* rgb */ color: rgb(66, 193, 102); /* oklch */ color: oklch(72.0% 0.171 149.3);
Tailwind
colors: {
custom: {
50: '#85d593',
500: '#42c166',
950: '#000000',
},
}SCSS
$custom: #42c166; $custom-light: #85d593; $custom-dark: #000000;
JSON
{
"hex": "#42c166",
"rgb": {
"r": 66,
"g": 193,
"b": 102
},
"hsl": {
"h": 137.008,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.71996,
"c": 0.17074,
"h": 149.3
},
"luminance": 0.40257
}Semantic roles & 50–950 ramp
primary
#42C166
secondary
#CC93BC
accent
#4EB2DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E