#42C956#42C956
#42C956 is a light, vivid green. Relative luminance 0.436; OKLCH L 73.8% C 0.195 H 145.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #42C956 |
|---|---|
| RGB | rgb(66, 201, 86) |
| HSL | hsl(129, 56%, 52%) |
| HSV | hsv(129, 67%, 79%) |
| CMYK | cmyk(67.2%, 0%, 57.2%, 21.2%) |
| CIE-LAB | lab(71.96, -59.59, 46.31) |
| CIE-LCH | lch(71.96, 75.47, 142.15°) |
| OKLab | oklab(73.84% -0.161 0.1099) |
| OKLCH | oklch(73.84% 0.195 145.7) |
| XYZ | xyz(24.8115, 43.6008, 15.9105) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.06
Lime Green
#32CD32
ΔE00 4.12
Emerald
#50C878
ΔE00 5.33
Algae Green
#21C36F
ΔE00 5.55
Leafy Green
#51B73B
ΔE00 5.56
Fresh Green
#69D84F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C956 #C942B5
analogous
#71C942 #42C956 #42C99A
triadic
#42C956 #5642C9 #C95642
tetradic
#42C956 #4271C9 #C942B5 #C99A42
square
#42C956 #4271C9 #C942B5 #C99A42
split-complementary
#42C956 #9A42C9 #C94271
monochromatic
#20702C #2EA03F #42C956 #72D781 #A1E4AB
Accessibility & contrast
On white
2.16
#42C956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#42C956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C956
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C956 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#BCAC5F
Tritanopia (blue-blind)
#14C4B0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c956; /* rgb */ color: rgb(66, 201, 86); /* oklch */ color: oklch(73.8% 0.195 145.7);
Tailwind
colors: {
custom: {
50: '#87da89',
500: '#42c956',
950: '#000000',
},
}SCSS
$custom: #42c956; $custom-light: #87da89; $custom-dark: #000000;
JSON
{
"hex": "#42c956",
"rgb": {
"r": 66,
"g": 201,
"b": 86
},
"hsl": {
"h": 128.889,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.73839,
"c": 0.19489,
"h": 145.7
},
"luminance": 0.43603
}Semantic roles & 50–950 ramp
primary
#42C956
secondary
#D196C8
accent
#49C9DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D