#42C857#42C857
#42C857 is a light, vivid green. Relative luminance 0.432; OKLCH L 73.6% C 0.193 H 145.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #42C857 |
|---|---|
| RGB | rgb(66, 200, 87) |
| HSL | hsl(129, 55%, 52%) |
| HSV | hsv(129, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 56.5%, 21.6%) |
| CIE-LAB | lab(71.66, -59.11, 45.49) |
| CIE-LCH | lch(71.66, 74.59, 142.42°) |
| OKLab | oklab(73.59% -0.1596 0.1082) |
| OKLCH | oklch(73.59% 0.193 145.9) |
| XYZ | xyz(24.6197, 43.1523, 16.0467) |
| Luminance | 0.4315 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.88
Lime Green
#32CD32
ΔE00 4.39
Emerald
#50C878
ΔE00 5.11
Algae Green
#21C36F
ΔE00 5.28
Leafy Green
#51B73B
ΔE00 5.46
Dark Mint
#48C072
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C857 #C842B3
analogous
#70C842 #42C857 #42C89A
triadic
#42C857 #5742C8 #C85742
tetradic
#42C857 #4270C8 #C842B3 #C89A42
square
#42C857 #4270C8 #C842B3 #C89A42
split-complementary
#42C857 #9A42C8 #C84270
monochromatic
#206F2D #2E9F40 #42C857 #71D681 #A1E4AB
Accessibility & contrast
On white
2.18
#42C857 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#42C857 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C857
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C857 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C857 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#BBAB60
Tritanopia (blue-blind)
#14C3AF
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c857; /* rgb */ color: rgb(66, 200, 87); /* oklch */ color: oklch(73.6% 0.193 145.9);
Tailwind
colors: {
custom: {
50: '#87da89',
500: '#42c857',
950: '#000000',
},
}SCSS
$custom: #42c857; $custom-light: #87da89; $custom-dark: #000000;
JSON
{
"hex": "#42c857",
"rgb": {
"r": 66,
"g": 200,
"b": 87
},
"hsl": {
"h": 129.403,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73592,
"c": 0.19283,
"h": 145.9
},
"luminance": 0.43155
}Semantic roles & 50–950 ramp
primary
#42C857
secondary
#D096C7
accent
#4AC7DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D