#42C852#42C852
#42C852 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.5% C 0.197 H 145.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #42C852 |
|---|---|
| RGB | rgb(66, 200, 82) |
| HSL | hsl(127, 55%, 52%) |
| HSV | hsv(127, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 59%, 21.6%) |
| CIE-LAB | lab(71.60, -59.73, 47.73) |
| CIE-LCH | lch(71.60, 76.46, 141.37°) |
| OKLab | oklab(73.53% -0.1615 0.1126) |
| OKLCH | oklch(73.53% 0.197 145.1) |
| XYZ | xyz(24.4224, 43.0734, 15.0079) |
| Luminance | 0.4308 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.96
Lime Green
#32CD32
ΔE00 3.75
Leafy Green
#51B73B
ΔE00 5.13
Fresh Green
#69D84F
ΔE00 5.54
Apple
#6ECB3C
ΔE00 5.72
Emerald
#50C878
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C852 #C842B8
analogous
#75C842 #42C852 #42C895
triadic
#42C852 #5242C8 #C85242
tetradic
#42C852 #4275C8 #C842B8 #C89542
square
#42C852 #4275C8 #C842B8 #C89542
split-complementary
#42C852 #9542C8 #C84275
monochromatic
#206F2A #2E9F3C #42C852 #71D67D #A1E4A9
Accessibility & contrast
On white
2.18
#42C852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#42C852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C852
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C852 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#BBAB5C
Tritanopia (blue-blind)
#18C3AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c852; /* rgb */ color: rgb(66, 200, 82); /* oklch */ color: oklch(73.5% 0.197 145.1);
Tailwind
colors: {
custom: {
50: '#87da86',
500: '#42c852',
950: '#000000',
},
}SCSS
$custom: #42c852; $custom-light: #87da86; $custom-dark: #000000;
JSON
{
"hex": "#42c852",
"rgb": {
"r": 66,
"g": 200,
"b": 82
},
"hsl": {
"h": 127.164,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73531,
"c": 0.1969,
"h": 145.1
},
"luminance": 0.43076
}Semantic roles & 50–950 ramp
primary
#42C852
secondary
#D096C9
accent
#4ACCDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C