#42C04F#42C04F
#42C04F is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.189 H 144.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #42C04F |
|---|---|
| RGB | rgb(66, 192, 79) |
| HSL | hsl(126, 50%, 51%) |
| HSV | hsv(126, 66%, 75%) |
| CMYK | cmyk(65.6%, 0%, 58.9%, 24.7%) |
| CIE-LAB | lab(69.05, -57.28, 46.14) |
| CIE-LCH | lch(69.05, 73.55, 141.15°) |
| OKLab | oklab(71.41% -0.155 0.1089) |
| OKLCH | oklch(71.41% 0.189 144.9) |
| XYZ | xyz(22.5062, 39.4197, 13.8183) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.24
Leafy Green
#51B73B
ΔE00 3.63
Shamrock
#01B44C
ΔE00 4.44
Lime Green
#32CD32
ΔE00 4.98
Cool Green
#33B864
ΔE00 5.03
Medium Green
#39AD48
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C04F #C042B3
analogous
#74C042 #42C04F #42C08E
triadic
#42C04F #4F42C0 #C04F42
tetradic
#42C04F #4274C0 #C042B3 #C08E42
square
#42C04F #4274C0 #C042B3 #C08E42
split-complementary
#42C04F #8E42C0 #C04274
monochromatic
#226629 #31943B #42C04F #70CF7A #9EDFA4
Accessibility & contrast
On white
2.36
#42C04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#42C04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C04F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C04F | 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)
#C3AF43
Deuteranopia (green-blind)
#B4A458
Tritanopia (blue-blind)
#1FBBA7
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #42c04f; /* rgb */ color: rgb(66, 192, 79); /* oklch */ color: oklch(71.4% 0.189 144.9);
Tailwind
colors: {
custom: {
50: '#85d484',
500: '#42c04f',
950: '#000000',
},
}SCSS
$custom: #42c04f; $custom-light: #85d484; $custom-dark: #000000;
JSON
{
"hex": "#42c04f",
"rgb": {
"r": 66,
"g": 192,
"b": 79
},
"hsl": {
"h": 126.19,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.71412,
"c": 0.18944,
"h": 144.9
},
"luminance": 0.39422
}Semantic roles & 50–950 ramp
primary
#42C04F
secondary
#CB93C5
accent
#4ECBDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C