#42C04E#42C04E
#42C04E is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.190 H 144.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #42C04E |
|---|---|
| RGB | rgb(66, 192, 78) |
| HSL | hsl(126, 50%, 51%) |
| HSV | hsv(126, 66%, 75%) |
| CMYK | cmyk(65.6%, 0%, 59.4%, 24.7%) |
| CIE-LAB | lab(69.04, -57.40, 46.58) |
| CIE-LCH | lch(69.04, 73.93, 140.94°) |
| OKLab | oklab(71.4% -0.1553 0.1098) |
| OKLCH | oklch(71.4% 0.19 144.7) |
| XYZ | xyz(22.4701, 39.4053, 13.6281) |
| Luminance | 0.3941 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.27
Leafy Green
#51B73B
ΔE00 3.54
Shamrock
#01B44C
ΔE00 4.49
Lime Green
#32CD32
ΔE00 4.88
Cool Green
#33B864
ΔE00 5.15
Medium Green
#39AD48
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C04E #C042B4
analogous
#75C042 #42C04E #42C08D
triadic
#42C04E #4E42C0 #C04E42
tetradic
#42C04E #4275C0 #C042B4 #C08D42
square
#42C04E #4275C0 #C042B4 #C08D42
split-complementary
#42C04E #8D42C0 #C04275
monochromatic
#226628 #31943B #42C04E #70CF79 #9EDFA4
Accessibility & contrast
On white
2.36
#42C04E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#42C04E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C04E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C04E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C04E | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF42
Deuteranopia (green-blind)
#B4A457
Tritanopia (blue-blind)
#20BBA7
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #42c04e; /* rgb */ color: rgb(66, 192, 78); /* oklch */ color: oklch(71.4% 0.190 144.7);
Tailwind
colors: {
custom: {
50: '#85d483',
500: '#42c04e',
950: '#000000',
},
}SCSS
$custom: #42c04e; $custom-light: #85d483; $custom-dark: #000000;
JSON
{
"hex": "#42c04e",
"rgb": {
"r": 66,
"g": 192,
"b": 78
},
"hsl": {
"h": 125.714,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.714,
"c": 0.19025,
"h": 144.7
},
"luminance": 0.39408
}Semantic roles & 50–950 ramp
primary
#42C04E
secondary
#CB93C6
accent
#4ECCDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C