#42C960#42C960
#42C960 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.0% C 0.186 H 147.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #42C960 |
|---|---|
| RGB | rgb(66, 201, 96) |
| HSL | hsl(133, 56%, 52%) |
| HSV | hsv(133, 67%, 79%) |
| CMYK | cmyk(67.2%, 0%, 52.2%, 21.2%) |
| CIE-LAB | lab(72.08, -58.25, 41.72) |
| CIE-LCH | lch(72.08, 71.65, 144.39°) |
| OKLab | oklab(73.97% -0.1571 0.1004) |
| OKLCH | oklch(73.97% 0.186 147.4) |
| XYZ | xyz(25.2429, 43.7734, 18.1828) |
| Luminance | 0.4378 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.28
Emerald
#50C878
ΔE00 3.93
Algae Green
#21C36F
ΔE00 4.27
Dark Mint
#48C072
ΔE00 4.54
Seaweed
#18D17B
ΔE00 4.82
Tealish Green
#0CDC73
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C960 #C942AB
analogous
#68C942 #42C960 #42C9A3
triadic
#42C960 #6042C9 #C96042
tetradic
#42C960 #4268C9 #C942AB #C9A342
square
#42C960 #4268C9 #C942AB #C9A342
split-complementary
#42C960 #A342C9 #C94268
monochromatic
#207032 #2EA047 #42C960 #72D788 #A1E4B0
Accessibility & contrast
On white
2.15
#42C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#42C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C960
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C960 | 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)
#CBB857
Deuteranopia (green-blind)
#BBAC68
Tritanopia (blue-blind)
#09C5B1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c960; /* rgb */ color: rgb(66, 201, 96); /* oklch */ color: oklch(74.0% 0.186 147.4);
Tailwind
colors: {
custom: {
50: '#87da8f',
500: '#42c960',
950: '#000000',
},
}SCSS
$custom: #42c960; $custom-light: #87da8f; $custom-dark: #000000;
JSON
{
"hex": "#42c960",
"rgb": {
"r": 66,
"g": 201,
"b": 96
},
"hsl": {
"h": 133.333,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.73972,
"c": 0.18645,
"h": 147.4
},
"luminance": 0.43776
}Semantic roles & 50–950 ramp
primary
#42C960
secondary
#D196C4
accent
#49BEDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150D
muted
#7D837D