#42C752#42C752
#42C752 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.196 H 145.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #42C752 |
|---|---|
| RGB | rgb(66, 199, 82) |
| HSL | hsl(127, 54%, 52%) |
| HSV | hsv(127, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 58.8%, 22%) |
| CIE-LAB | lab(71.29, -59.38, 47.37) |
| CIE-LCH | lch(71.29, 75.96, 141.42°) |
| OKLab | oklab(73.27% -0.1606 0.1118) |
| OKLCH | oklch(73.27% 0.196 145.1) |
| XYZ | xyz(24.1916, 42.6118, 14.9310) |
| Luminance | 0.4261 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.79
Lime Green
#32CD32
ΔE00 3.91
Leafy Green
#51B73B
ΔE00 4.94
Emerald
#50C878
ΔE00 5.70
Fresh Green
#69D84F
ΔE00 5.76
Algae Green
#21C36F
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C752 #C742B7
analogous
#75C742 #42C752 #42C795
triadic
#42C752 #5242C7 #C75242
tetradic
#42C752 #4275C7 #C742B7 #C79542
square
#42C752 #4275C7 #C742B7 #C79542
split-complementary
#42C752 #9542C7 #C74275
monochromatic
#216E2A #2F9D3C #42C752 #71D57D #A0E3A8
Accessibility & contrast
On white
2.21
#42C752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#42C752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C752
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C752 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#19C2AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c752; /* rgb */ color: rgb(66, 199, 82); /* oklch */ color: oklch(73.3% 0.196 145.1);
Tailwind
colors: {
custom: {
50: '#87d986',
500: '#42c752',
950: '#000000',
},
}SCSS
$custom: #42c752; $custom-light: #87d986; $custom-dark: #000000;
JSON
{
"hex": "#42c752",
"rgb": {
"r": 66,
"g": 199,
"b": 82
},
"hsl": {
"h": 127.218,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73271,
"c": 0.19567,
"h": 145.1
},
"luminance": 0.42614
}Semantic roles & 50–950 ramp
primary
#42C752
secondary
#D095C9
accent
#4ACCDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C