#42C856#42C856
#42C856 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.194 H 145.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #42C856 |
|---|---|
| RGB | rgb(66, 200, 86) |
| HSL | hsl(129, 55%, 52%) |
| HSV | hsv(129, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 57%, 21.6%) |
| CIE-LAB | lab(71.65, -59.24, 45.94) |
| CIE-LCH | lch(71.65, 74.97, 142.20°) |
| OKLab | oklab(73.58% -0.16 0.1091) |
| OKLCH | oklch(73.58% 0.194 145.7) |
| XYZ | xyz(24.5791, 43.1361, 15.8331) |
| Luminance | 0.4314 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.88
Lime Green
#32CD32
ΔE00 4.26
Emerald
#50C878
ΔE00 5.24
Leafy Green
#51B73B
ΔE00 5.39
Algae Green
#21C36F
ΔE00 5.41
Dark Mint
#48C072
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C856 #C842B4
analogous
#71C842 #42C856 #42C899
triadic
#42C856 #5642C8 #C85642
tetradic
#42C856 #4271C8 #C842B4 #C89942
square
#42C856 #4271C8 #C842B4 #C89942
split-complementary
#42C856 #9942C8 #C84271
monochromatic
#206F2C #2E9F3F #42C856 #71D680 #A1E4AB
Accessibility & contrast
On white
2.18
#42C856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#42C856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C856
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C856 | 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)
#CBB64B
Deuteranopia (green-blind)
#BBAB5F
Tritanopia (blue-blind)
#15C3AF
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c856; /* rgb */ color: rgb(66, 200, 86); /* oklch */ color: oklch(73.6% 0.194 145.7);
Tailwind
colors: {
custom: {
50: '#87da89',
500: '#42c856',
950: '#000000',
},
}SCSS
$custom: #42c856; $custom-light: #87da89; $custom-dark: #000000;
JSON
{
"hex": "#42c856",
"rgb": {
"r": 66,
"g": 200,
"b": 86
},
"hsl": {
"h": 128.955,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73579,
"c": 0.19366,
"h": 145.7
},
"luminance": 0.43139
}Semantic roles & 50–950 ramp
primary
#42C856
secondary
#D096C7
accent
#4AC8DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D