#42C165#42C165
#42C165 is a light, vivid green. Relative luminance 0.402; OKLCH L 72.0% C 0.172 H 149.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #42C165 |
|---|---|
| RGB | rgb(66, 193, 101) |
| HSL | hsl(137, 51%, 51%) |
| HSV | hsv(137, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 47.7%, 24.3%) |
| CIE-LAB | lab(69.64, -54.58, 36.22) |
| CIE-LCH | lch(69.64, 65.50, 146.43°) |
| OKLab | oklab(71.98% -0.1472 0.0883) |
| OKLCH | oklch(71.98% 0.172 149) |
| XYZ | xyz(23.6639, 40.2353, 18.8285) |
| Luminance | 0.4024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 2.35
Algae Green
#21C36F
ΔE00 2.63
Cool Green
#33B864
ΔE00 2.86
Emerald
#50C878
ΔE00 3.04
Shamrock Green
#02C14D
ΔE00 3.55
Dark Mint Green
#20C073
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C165 #C1429E
analogous
#5EC142 #42C165 #42C1A4
triadic
#42C165 #6542C1 #C16542
tetradic
#42C165 #425EC1 #C1429E #C1A442
square
#42C165 #425EC1 #C1429E #C1A442
split-complementary
#42C165 #A442C1 #C1425E
monochromatic
#226735 #31954C #42C165 #70D08B #9EDFB0
Accessibility & contrast
On white
2.32
#42C165 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#42C165 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C165
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C165 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C165 | 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)
#C3B15E
Deuteranopia (green-blind)
#B3A66B
Tritanopia (blue-blind)
#0EBDAB
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #42c165; /* rgb */ color: rgb(66, 193, 101); /* oklch */ color: oklch(72.0% 0.172 149.0);
Tailwind
colors: {
custom: {
50: '#85d592',
500: '#42c165',
950: '#000000',
},
}SCSS
$custom: #42c165; $custom-light: #85d592; $custom-dark: #000000;
JSON
{
"hex": "#42c165",
"rgb": {
"r": 66,
"g": 193,
"b": 101
},
"hsl": {
"h": 136.535,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.7198,
"c": 0.17166,
"h": 149
},
"luminance": 0.40238
}Semantic roles & 50–950 ramp
primary
#42C165
secondary
#CC93BC
accent
#4EB3DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E