#42C560#42C560
#42C560 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.181 H 147.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #42C560 |
|---|---|
| RGB | rgb(66, 197, 96) |
| HSL | hsl(134, 53%, 52%) |
| HSV | hsv(134, 66%, 77%) |
| CMYK | cmyk(66.5%, 0%, 51.3%, 22.7%) |
| CIE-LAB | lab(70.82, -56.80, 40.18) |
| CIE-LCH | lch(70.82, 69.58, 144.72°) |
| OKLab | oklab(72.94% -0.1532 0.097) |
| OKLCH | oklch(72.94% 0.181 147.7) |
| XYZ | xyz(24.3226, 41.9327, 17.8761) |
| Luminance | 0.4194 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.91
Emerald
#50C878
ΔE00 3.65
Algae Green
#21C36F
ΔE00 3.67
Dark Mint
#48C072
ΔE00 3.76
Cool Green
#33B864
ΔE00 4.31
Dark Mint Green
#20C073
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C560 #C542A7
analogous
#66C542 #42C560 #42C5A1
triadic
#42C560 #6042C5 #C56042
tetradic
#42C560 #4266C5 #C542A7 #C5A142
square
#42C560 #4266C5 #C542A7 #C5A142
split-complementary
#42C560 #A142C5 #C54266
monochromatic
#216C32 #2F9A48 #42C560 #71D387 #A0E2AF
Accessibility & contrast
On white
2.24
#42C560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.39
#42C560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C560
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C560 | 1.00 | 2.24 | 9.39 | 9.39 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#B7A967
Tritanopia (blue-blind)
#0FC1AE
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #42c560; /* rgb */ color: rgb(66, 197, 96); /* oklch */ color: oklch(72.9% 0.181 147.7);
Tailwind
colors: {
custom: {
50: '#86d88f',
500: '#42c560',
950: '#000000',
},
}SCSS
$custom: #42c560; $custom-light: #86d88f; $custom-dark: #000000;
JSON
{
"hex": "#42c560",
"rgb": {
"r": 66,
"g": 197,
"b": 96
},
"hsl": {
"h": 133.74,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.72938,
"c": 0.18134,
"h": 147.7
},
"luminance": 0.41935
}Semantic roles & 50–950 ramp
primary
#42C560
secondary
#CE95C1
accent
#4BBBDC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D