#42C757#42C757
#42C757 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.192 H 145.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #42C757 |
|---|---|
| RGB | rgb(66, 199, 87) |
| HSL | hsl(129, 54%, 52%) |
| HSV | hsv(129, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 56.3%, 22%) |
| CIE-LAB | lab(71.34, -58.76, 45.12) |
| CIE-LCH | lch(71.34, 74.08, 142.48°) |
| OKLab | oklab(73.33% -0.1587 0.1073) |
| OKLCH | oklch(73.33% 0.192 145.9) |
| XYZ | xyz(24.3888, 42.6906, 15.9698) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.72
Lime Green
#32CD32
ΔE00 4.54
Emerald
#50C878
ΔE00 5.03
Algae Green
#21C36F
ΔE00 5.15
Leafy Green
#51B73B
ΔE00 5.30
Dark Mint
#48C072
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C757 #C742B2
analogous
#6FC742 #42C757 #42C79A
triadic
#42C757 #5742C7 #C75742
tetradic
#42C757 #426FC7 #C742B2 #C79A42
square
#42C757 #426FC7 #C742B2 #C79A42
split-complementary
#42C757 #9A42C7 #C7426F
monochromatic
#216E2D #2F9D40 #42C757 #71D581 #A0E3AB
Accessibility & contrast
On white
2.20
#42C757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#42C757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C757
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C757 | 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)
#CAB54C
Deuteranopia (green-blind)
#BAAA60
Tritanopia (blue-blind)
#15C2AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c757; /* rgb */ color: rgb(66, 199, 87); /* oklch */ color: oklch(73.3% 0.192 145.9);
Tailwind
colors: {
custom: {
50: '#86d989',
500: '#42c757',
950: '#000000',
},
}SCSS
$custom: #42c757; $custom-light: #86d989; $custom-dark: #000000;
JSON
{
"hex": "#42c757",
"rgb": {
"r": 66,
"g": 199,
"b": 87
},
"hsl": {
"h": 129.474,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73333,
"c": 0.19158,
"h": 145.9
},
"luminance": 0.42693
}Semantic roles & 50–950 ramp
primary
#42C757
secondary
#D095C6
accent
#4AC6DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D