#42C172#42C172
#42C172 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.2% C 0.160 H 152.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #42C172 |
|---|---|
| RGB | rgb(66, 193, 114) |
| HSL | hsl(143, 51%, 51%) |
| HSV | hsv(143, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 40.9%, 24.3%) |
| CIE-LAB | lab(69.83, -52.40, 29.83) |
| CIE-LCH | lch(69.83, 60.29, 150.35°) |
| OKLab | oklab(72.2% -0.1415 0.074) |
| OKLCH | oklch(72.2% 0.16 152.4) |
| XYZ | xyz(24.3520, 40.5105, 22.4523) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 0.50
Algae Green
#21C36F
ΔE00 1.68
Dark Mint Green
#20C073
ΔE00 1.89
Emerald
#50C878
ΔE00 2.07
Cool Green
#33B864
ΔE00 2.87
Fern
#63B76C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C172 #C14291
analogous
#51C142 #42C172 #42C1B1
triadic
#42C172 #7242C1 #C17242
tetradic
#42C172 #4251C1 #C14291 #C1B142
square
#42C172 #4251C1 #C14291 #C1B142
split-complementary
#42C172 #B142C1 #C14251
monochromatic
#22673C #319557 #42C172 #70D094 #9EDFB7
Accessibility & contrast
On white
2.31
#42C172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#42C172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C172
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C172 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B16C
Deuteranopia (green-blind)
#B1A677
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c172; /* rgb */ color: rgb(66, 193, 114); /* oklch */ color: oklch(72.2% 0.160 152.4);
Tailwind
colors: {
custom: {
50: '#85d59b',
500: '#42c172',
950: '#000000',
},
}SCSS
$custom: #42c172; $custom-light: #85d59b; $custom-dark: #000000;
JSON
{
"hex": "#42c172",
"rgb": {
"r": 66,
"g": 193,
"b": 114
},
"hsl": {
"h": 142.677,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.72204,
"c": 0.15966,
"h": 152.4
},
"luminance": 0.40513
}Semantic roles & 50–950 ramp
primary
#42C172
secondary
#CC93B6
accent
#4EA5DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E