#42C652#42C652
#42C652 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.0% C 0.194 H 145.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #42C652 |
|---|---|
| RGB | rgb(66, 198, 82) |
| HSL | hsl(127, 54%, 52%) |
| HSV | hsv(127, 67%, 78%) |
| CMYK | cmyk(66.7%, 0%, 58.6%, 22.4%) |
| CIE-LAB | lab(70.98, -59.03, 47.00) |
| CIE-LCH | lch(70.98, 75.46, 141.47°) |
| OKLab | oklab(73.01% -0.1596 0.1111) |
| OKLCH | oklch(73.01% 0.194 145.2) |
| XYZ | xyz(23.9623, 42.1531, 14.8545) |
| Luminance | 0.4216 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.63
Lime Green
#32CD32
ΔE00 4.08
Leafy Green
#51B73B
ΔE00 4.77
Emerald
#50C878
ΔE00 5.65
Algae Green
#21C36F
ΔE00 5.68
Shamrock
#01B44C
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C652 #C642B6
analogous
#74C642 #42C652 #42C694
triadic
#42C652 #5242C6 #C65242
tetradic
#42C652 #4274C6 #C642B6 #C69442
square
#42C652 #4274C6 #C642B6 #C69442
split-complementary
#42C652 #9442C6 #C64274
monochromatic
#216D2A #2F9C3C #42C652 #71D47D #A0E2A8
Accessibility & contrast
On white
2.23
#42C652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#42C652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C652
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C652 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#B9A95B
Tritanopia (blue-blind)
#19C1AD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #42c652; /* rgb */ color: rgb(66, 198, 82); /* oklch */ color: oklch(73.0% 0.194 145.2);
Tailwind
colors: {
custom: {
50: '#86d886',
500: '#42c652',
950: '#000000',
},
}SCSS
$custom: #42c652; $custom-light: #86d886; $custom-dark: #000000;
JSON
{
"hex": "#42c652",
"rgb": {
"r": 66,
"g": 198,
"b": 82
},
"hsl": {
"h": 127.273,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.73011,
"c": 0.19444,
"h": 145.2
},
"luminance": 0.42156
}Semantic roles & 50–950 ramp
primary
#42C652
secondary
#CF95C8
accent
#4BCBDD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C