#42C962#42C962
#42C962 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.0% C 0.185 H 147.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #42C962 |
|---|---|
| RGB | rgb(66, 201, 98) |
| HSL | hsl(134, 56%, 52%) |
| HSV | hsv(134, 67%, 79%) |
| CMYK | cmyk(67.2%, 0%, 51.2%, 21.2%) |
| CIE-LAB | lab(72.10, -57.96, 40.78) |
| CIE-LCH | lch(72.10, 70.87, 144.87°) |
| OKLab | oklab(74% -0.1563 0.0985) |
| OKLCH | oklch(74% 0.185 147.8) |
| XYZ | xyz(25.3362, 43.8107, 18.6740) |
| Luminance | 0.4381 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.41
Emerald
#50C878
ΔE00 3.64
Algae Green
#21C36F
ΔE00 4.01
Dark Mint
#48C072
ΔE00 4.28
Seaweed
#18D17B
ΔE00 4.57
Tealish Green
#0CDC73
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C962 #C942A9
analogous
#66C942 #42C962 #42C9A5
triadic
#42C962 #6242C9 #C96242
tetradic
#42C962 #4266C9 #C942A9 #C9A542
square
#42C962 #4266C9 #C942A9 #C9A542
split-complementary
#42C962 #A542C9 #C94266
monochromatic
#207033 #2EA049 #42C962 #72D78A #A1E4B1
Accessibility & contrast
On white
2.15
#42C962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#42C962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C962
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C962 | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB859
Deuteranopia (green-blind)
#BBAC6A
Tritanopia (blue-blind)
#06C5B1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c962; /* rgb */ color: rgb(66, 201, 98); /* oklch */ color: oklch(74.0% 0.185 147.8);
Tailwind
colors: {
custom: {
50: '#86da91',
500: '#42c962',
950: '#000000',
},
}SCSS
$custom: #42c962; $custom-light: #86da91; $custom-dark: #000000;
JSON
{
"hex": "#42c962",
"rgb": {
"r": 66,
"g": 201,
"b": 98
},
"hsl": {
"h": 134.222,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.74001,
"c": 0.1847,
"h": 147.8
},
"luminance": 0.43813
}Semantic roles & 50–950 ramp
primary
#42C962
secondary
#D196C3
accent
#49BBDF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0D150D
muted
#7D837E