#42C552#42C552
#42C552 is a light, vivid green. Relative luminance 0.417; OKLCH L 72.8% C 0.193 H 145.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #42C552 |
|---|---|
| RGB | rgb(66, 197, 82) |
| HSL | hsl(127, 53%, 52%) |
| HSV | hsv(127, 66%, 77%) |
| CMYK | cmyk(66.5%, 0%, 58.4%, 22.7%) |
| CIE-LAB | lab(70.66, -58.68, 46.63) |
| CIE-LCH | lch(70.66, 74.96, 141.53°) |
| OKLab | oklab(72.75% -0.1587 0.1103) |
| OKLCH | oklch(72.75% 0.193 145.2) |
| XYZ | xyz(23.7345, 41.6975, 14.7786) |
| Luminance | 0.4170 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.49
Lime Green
#32CD32
ΔE00 4.26
Leafy Green
#51B73B
ΔE00 4.60
Shamrock
#01B44C
ΔE00 5.49
Algae Green
#21C36F
ΔE00 5.57
Emerald
#50C878
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C552 #C542B5
analogous
#74C542 #42C552 #42C594
triadic
#42C552 #5242C5 #C55242
tetradic
#42C552 #4274C5 #C542B5 #C59442
square
#42C552 #4274C5 #C542B5 #C59442
split-complementary
#42C552 #9442C5 #C54274
monochromatic
#216C2A #2F9A3C #42C552 #71D37D #A0E2A8
Accessibility & contrast
On white
2.25
#42C552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#42C552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C552
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C552 | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B446
Deuteranopia (green-blind)
#B8A95B
Tritanopia (blue-blind)
#1AC0AC
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #42c552; /* rgb */ color: rgb(66, 197, 82); /* oklch */ color: oklch(72.8% 0.193 145.2);
Tailwind
colors: {
custom: {
50: '#86d886',
500: '#42c552',
950: '#000000',
},
}SCSS
$custom: #42c552; $custom-light: #86d886; $custom-dark: #000000;
JSON
{
"hex": "#42c552",
"rgb": {
"r": 66,
"g": 197,
"b": 82
},
"hsl": {
"h": 127.328,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.72751,
"c": 0.1932,
"h": 145.2
},
"luminance": 0.417
}Semantic roles & 50–950 ramp
primary
#42C552
secondary
#CE95C7
accent
#4BCBDC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150B
muted
#7D837C