#42C563#42C563
#42C563 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.0% C 0.179 H 148.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #42C563 |
|---|---|
| RGB | rgb(66, 197, 99) |
| HSL | hsl(135, 53%, 52%) |
| HSV | hsv(135, 66%, 77%) |
| CMYK | cmyk(66.5%, 0%, 49.7%, 22.7%) |
| CIE-LAB | lab(70.86, -56.36, 38.76) |
| CIE-LCH | lch(70.86, 68.40, 145.48°) |
| OKLab | oklab(72.98% -0.152 0.094) |
| OKLCH | oklch(72.98% 0.179 148.3) |
| XYZ | xyz(24.4633, 41.9890, 18.6174) |
| Luminance | 0.4199 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.20
Emerald
#50C878
ΔE00 3.21
Algae Green
#21C36F
ΔE00 3.25
Dark Mint
#48C072
ΔE00 3.33
Cool Green
#33B864
ΔE00 4.07
Dark Mint Green
#20C073
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C563 #C542A4
analogous
#63C542 #42C563 #42C5A5
triadic
#42C563 #6342C5 #C56342
tetradic
#42C563 #4263C5 #C542A4 #C5A542
square
#42C563 #4263C5 #C542A4 #C5A542
split-complementary
#42C563 #A542C5 #C54263
monochromatic
#216C34 #2F9A4A #42C563 #71D38A #A0E2B0
Accessibility & contrast
On white
2.23
#42C563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#42C563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C563
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C563 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B45B
Deuteranopia (green-blind)
#B7A96A
Tritanopia (blue-blind)
#0BC1AE
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #42c563; /* rgb */ color: rgb(66, 197, 99); /* oklch */ color: oklch(73.0% 0.179 148.3);
Tailwind
colors: {
custom: {
50: '#86d891',
500: '#42c563',
950: '#000000',
},
}SCSS
$custom: #42c563; $custom-light: #86d891; $custom-dark: #000000;
JSON
{
"hex": "#42c563",
"rgb": {
"r": 66,
"g": 197,
"b": 99
},
"hsl": {
"h": 135.115,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.72983,
"c": 0.17868,
"h": 148.3
},
"luminance": 0.41992
}Semantic roles & 50–950 ramp
primary
#42C563
secondary
#CE95C0
accent
#4BB8DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E