#42C756#42C756
#42C756 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.192 H 145.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #42C756 |
|---|---|
| RGB | rgb(66, 199, 86) |
| HSL | hsl(129, 54%, 52%) |
| HSV | hsv(129, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 56.8%, 22%) |
| CIE-LAB | lab(71.33, -58.89, 45.57) |
| CIE-LCH | lch(71.33, 74.46, 142.26°) |
| OKLab | oklab(73.32% -0.1591 0.1083) |
| OKLCH | oklch(73.32% 0.192 145.8) |
| XYZ | xyz(24.3483, 42.6744, 15.7561) |
| Luminance | 0.4268 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.72
Lime Green
#32CD32
ΔE00 4.41
Emerald
#50C878
ΔE00 5.17
Leafy Green
#51B73B
ΔE00 5.22
Algae Green
#21C36F
ΔE00 5.28
Dark Mint
#48C072
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C756 #C742B3
analogous
#70C742 #42C756 #42C799
triadic
#42C756 #5642C7 #C75642
tetradic
#42C756 #4270C7 #C742B3 #C79942
square
#42C756 #4270C7 #C742B3 #C79942
split-complementary
#42C756 #9942C7 #C74270
monochromatic
#216E2C #2F9D3F #42C756 #71D580 #A0E3AA
Accessibility & contrast
On white
2.20
#42C756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#42C756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C756
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C756 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB54B
Deuteranopia (green-blind)
#BAAA5F
Tritanopia (blue-blind)
#16C2AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c756; /* rgb */ color: rgb(66, 199, 86); /* oklch */ color: oklch(73.3% 0.192 145.8);
Tailwind
colors: {
custom: {
50: '#87d989',
500: '#42c756',
950: '#000000',
},
}SCSS
$custom: #42c756; $custom-light: #87d989; $custom-dark: #000000;
JSON
{
"hex": "#42c756",
"rgb": {
"r": 66,
"g": 199,
"b": 86
},
"hsl": {
"h": 129.023,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.7332,
"c": 0.19241,
"h": 145.8
},
"luminance": 0.42677
}Semantic roles & 50–950 ramp
primary
#42C756
secondary
#D095C7
accent
#4AC7DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D