#42C657#42C657
#42C657 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.1% C 0.190 H 146.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #42C657 |
|---|---|
| RGB | rgb(66, 198, 87) |
| HSL | hsl(130, 54%, 52%) |
| HSV | hsv(130, 67%, 78%) |
| CMYK | cmyk(66.7%, 0%, 56.1%, 22.4%) |
| CIE-LAB | lab(71.03, -58.40, 44.75) |
| CIE-LCH | lch(71.03, 73.58, 142.54°) |
| OKLab | oklab(73.07% -0.1577 0.1065) |
| OKLCH | oklch(73.07% 0.19 146) |
| XYZ | xyz(24.1595, 42.2320, 15.8933) |
| Luminance | 0.4224 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.58
Lime Green
#32CD32
ΔE00 4.71
Emerald
#50C878
ΔE00 4.98
Algae Green
#21C36F
ΔE00 5.02
Leafy Green
#51B73B
ΔE00 5.15
Dark Mint
#48C072
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C657 #C642B1
analogous
#6FC642 #42C657 #42C699
triadic
#42C657 #5742C6 #C65742
tetradic
#42C657 #426FC6 #C642B1 #C69942
square
#42C657 #426FC6 #C642B1 #C69942
split-complementary
#42C657 #9942C6 #C6426F
monochromatic
#216D2D #2F9C40 #42C657 #71D481 #A0E2AB
Accessibility & contrast
On white
2.22
#42C657 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#42C657 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C657
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C657 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C657 | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#B9AA60
Tritanopia (blue-blind)
#16C1AD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #42c657; /* rgb */ color: rgb(66, 198, 87); /* oklch */ color: oklch(73.1% 0.190 146.0);
Tailwind
colors: {
custom: {
50: '#86d889',
500: '#42c657',
950: '#000000',
},
}SCSS
$custom: #42c657; $custom-light: #86d889; $custom-dark: #000000;
JSON
{
"hex": "#42c657",
"rgb": {
"r": 66,
"g": 198,
"b": 87
},
"hsl": {
"h": 129.545,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.73073,
"c": 0.19034,
"h": 146
},
"luminance": 0.42235
}Semantic roles & 50–950 ramp
primary
#42C657
secondary
#CF95C6
accent
#4BC6DD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D