#42C742#42C742
#42C742 is a light, highly saturated green. Relative luminance 0.424; OKLCH L 73.1% C 0.208 H 143.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #42C742 |
|---|---|
| RGB | rgb(66, 199, 66) |
| HSL | hsl(120, 54%, 52%) |
| HSV | hsv(120, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 66.8%, 22%) |
| CIE-LAB | lab(71.14, -61.12, 54.12) |
| CIE-LCH | lch(71.14, 81.64, 138.48°) |
| OKLab | oklab(73.1% -0.166 0.1247) |
| OKLCH | oklch(73.1% 0.208 143.1) |
| XYZ | xyz(23.6522, 42.3960, 12.0900) |
| Luminance | 0.4240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Lime Green
#32CD32
ΔE00 2.27
Shamrock Green
#02C14D
ΔE00 3.79
Leafy Green
#51B73B
ΔE00 4.37
Apple
#6ECB3C
ΔE00 4.50
Kelly Green
#4CBB17
ΔE00 4.72
Fresh Green
#69D84F
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C742 #C742C7
analogous
#85C742 #42C742 #42C785
triadic
#42C742 #4242C7 #C74242
tetradic
#42C742 #4285C7 #C742C7 #C78542
square
#42C742 #4285C7 #C742C7 #C78542
split-complementary
#42C742 #8542C7 #C74285
monochromatic
#216E21 #2F9D2F #42C742 #71D571 #A0E3A0
Accessibility & contrast
On white
2.22
#42C742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#42C742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C742
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C742 | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB530
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#21C1AC
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #42c742; /* rgb */ color: rgb(66, 199, 66); /* oklch */ color: oklch(73.1% 0.208 143.1);
Tailwind
colors: {
custom: {
50: '#87d97c',
500: '#42c742',
950: '#000000',
},
}SCSS
$custom: #42c742; $custom-light: #87d97c; $custom-dark: #000000;
JSON
{
"hex": "#42c742",
"rgb": {
"r": 66,
"g": 199,
"b": 66
},
"hsl": {
"h": 120,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73101,
"c": 0.20759,
"h": 143.1
},
"luminance": 0.42398
}Semantic roles & 50–950 ramp
primary
#42C742
secondary
#D095D0
accent
#4ADEDE
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C