#42C862#42C862
#42C862 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.7% C 0.183 H 147.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #42C862 |
|---|---|
| RGB | rgb(66, 200, 98) |
| HSL | hsl(134, 55%, 52%) |
| HSV | hsv(134, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 51%, 21.6%) |
| CIE-LAB | lab(71.79, -57.60, 40.40) |
| CIE-LCH | lch(71.79, 70.35, 144.96°) |
| OKLab | oklab(73.74% -0.1553 0.0976) |
| OKLCH | oklch(73.74% 0.183 147.9) |
| XYZ | xyz(25.1038, 43.3460, 18.5965) |
| Luminance | 0.4335 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.30
Emerald
#50C878
ΔE00 3.54
Algae Green
#21C36F
ΔE00 3.84
Dark Mint
#48C072
ΔE00 4.07
Seaweed
#18D17B
ΔE00 4.60
Cool Green
#33B864
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C862 #C842A8
analogous
#65C842 #42C862 #42C8A5
triadic
#42C862 #6242C8 #C86242
tetradic
#42C862 #4265C8 #C842A8 #C8A542
square
#42C862 #4265C8 #C842A8 #C8A542
split-complementary
#42C862 #A542C8 #C84265
monochromatic
#206F33 #2E9F49 #42C862 #71D689 #A1E4B1
Accessibility & contrast
On white
2.17
#42C862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#42C862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C862
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C862 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB759
Deuteranopia (green-blind)
#BAAB69
Tritanopia (blue-blind)
#07C4B0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c862; /* rgb */ color: rgb(66, 200, 98); /* oklch */ color: oklch(73.7% 0.183 147.9);
Tailwind
colors: {
custom: {
50: '#86da91',
500: '#42c862',
950: '#000000',
},
}SCSS
$custom: #42c862; $custom-light: #86da91; $custom-dark: #000000;
JSON
{
"hex": "#42c862",
"rgb": {
"r": 66,
"g": 200,
"b": 98
},
"hsl": {
"h": 134.328,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73743,
"c": 0.18342,
"h": 147.9
},
"luminance": 0.43349
}Semantic roles & 50–950 ramp
primary
#42C862
secondary
#D096C2
accent
#4ABBDE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E