#42C167#42C167
#42C167 is a light, vivid green. Relative luminance 0.403; OKLCH L 72.0% C 0.170 H 149.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #42C167 |
|---|---|
| RGB | rgb(66, 193, 103) |
| HSL | hsl(137, 51%, 51%) |
| HSV | hsv(137, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 46.6%, 24.3%) |
| CIE-LAB | lab(69.67, -54.26, 35.25) |
| CIE-LCH | lch(69.67, 64.71, 146.99°) |
| OKLab | oklab(72.01% -0.1463 0.0862) |
| OKLCH | oklch(72.01% 0.17 149.5) |
| XYZ | xyz(23.7631, 40.2750, 19.3509) |
| Luminance | 0.4028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 2.02
Algae Green
#21C36F
ΔE00 2.37
Cool Green
#33B864
ΔE00 2.74
Emerald
#50C878
ΔE00 2.80
Dark Mint Green
#20C073
ΔE00 3.30
Shamrock Green
#02C14D
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C167 #C1429C
analogous
#5CC142 #42C167 #42C1A6
triadic
#42C167 #6742C1 #C16742
tetradic
#42C167 #425CC1 #C1429C #C1A642
square
#42C167 #425CC1 #C1429C #C1A642
split-complementary
#42C167 #A642C1 #C1425C
monochromatic
#226736 #31954E #42C167 #70D08C #9EDFB1
Accessibility & contrast
On white
2.32
#42C167 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#42C167 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C167
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C167 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C167 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B160
Deuteranopia (green-blind)
#B3A66D
Tritanopia (blue-blind)
#0BBEAC
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #42c167; /* rgb */ color: rgb(66, 193, 103); /* oklch */ color: oklch(72.0% 0.170 149.5);
Tailwind
colors: {
custom: {
50: '#85d594',
500: '#42c167',
950: '#000000',
},
}SCSS
$custom: #42c167; $custom-light: #85d594; $custom-dark: #000000;
JSON
{
"hex": "#42c167",
"rgb": {
"r": 66,
"g": 193,
"b": 103
},
"hsl": {
"h": 137.48,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.72012,
"c": 0.16983,
"h": 149.5
},
"luminance": 0.40277
}Semantic roles & 50–950 ramp
primary
#42C167
secondary
#CC93BB
accent
#4EB1DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E