#42C062#42C062
#42C062 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.7% C 0.173 H 148.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #42C062 |
|---|---|
| RGB | rgb(66, 192, 98) |
| HSL | hsl(135, 50%, 51%) |
| HSV | hsv(135, 66%, 75%) |
| CMYK | cmyk(65.6%, 0%, 49%, 24.7%) |
| CIE-LAB | lab(69.28, -54.67, 37.28) |
| CIE-LCH | lch(69.28, 66.17, 145.71°) |
| OKLab | oklab(71.67% -0.1474 0.0906) |
| OKLCH | oklch(71.67% 0.173 148.4) |
| XYZ | xyz(23.2993, 39.7369, 17.9950) |
| Luminance | 0.3974 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 2.73
Cool Green
#33B864
ΔE00 2.83
Algae Green
#21C36F
ΔE00 3.00
Shamrock Green
#02C14D
ΔE00 3.25
Emerald
#50C878
ΔE00 3.49
Dark Mint Green
#20C073
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C062 #C042A0
analogous
#61C042 #42C062 #42C0A1
triadic
#42C062 #6242C0 #C06242
tetradic
#42C062 #4261C0 #C042A0 #C0A142
square
#42C062 #4261C0 #C042A0 #C0A142
split-complementary
#42C062 #A142C0 #C04261
monochromatic
#226633 #31944A #42C062 #70CF88 #9EDFAE
Accessibility & contrast
On white
2.35
#42C062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#42C062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C062
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C062 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B05A
Deuteranopia (green-blind)
#B2A569
Tritanopia (blue-blind)
#12BCAA
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #42c062; /* rgb */ color: rgb(66, 192, 98); /* oklch */ color: oklch(71.7% 0.173 148.4);
Tailwind
colors: {
custom: {
50: '#85d490',
500: '#42c062',
950: '#000000',
},
}SCSS
$custom: #42c062; $custom-light: #85d490; $custom-dark: #000000;
JSON
{
"hex": "#42c062",
"rgb": {
"r": 66,
"g": 192,
"b": 98
},
"hsl": {
"h": 135.238,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.71673,
"c": 0.17306,
"h": 148.4
},
"luminance": 0.39739
}Semantic roles & 50–950 ramp
primary
#42C062
secondary
#CB93BD
accent
#4EB6DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D