#42C74D#42C74D
#42C74D is a light, vivid green. Relative luminance 0.425; OKLCH L 73.2% C 0.200 H 144.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #42C74D |
|---|---|
| RGB | rgb(66, 199, 77) |
| HSL | hsl(125, 54%, 52%) |
| HSV | hsv(125, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 61.3%, 22%) |
| CIE-LAB | lab(71.24, -59.97, 49.55) |
| CIE-LCH | lch(71.24, 77.80, 140.43°) |
| OKLab | oklab(73.21% -0.1623 0.1161) |
| OKLCH | oklch(73.21% 0.2 144.4) |
| XYZ | xyz(24.0082, 42.5384, 13.9652) |
| Luminance | 0.4254 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.01
Lime Green
#32CD32
ΔE00 3.33
Leafy Green
#51B73B
ΔE00 4.67
Apple
#6ECB3C
ΔE00 5.35
Fresh Green
#69D84F
ΔE00 5.48
Kelly Green
#4CBB17
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C74D #C742BC
analogous
#7AC742 #42C74D #42C78F
triadic
#42C74D #4D42C7 #C74D42
tetradic
#42C74D #427AC7 #C742BC #C78F42
square
#42C74D #427AC7 #C742BC #C78F42
split-complementary
#42C74D #8F42C7 #C7427A
monochromatic
#216E27 #2F9D38 #42C74D #71D579 #A0E3A6
Accessibility & contrast
On white
2.21
#42C74D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#42C74D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C74D
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C74D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C74D | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#1CC2AD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #42c74d; /* rgb */ color: rgb(66, 199, 77); /* oklch */ color: oklch(73.2% 0.200 144.4);
Tailwind
colors: {
custom: {
50: '#87d983',
500: '#42c74d',
950: '#000000',
},
}SCSS
$custom: #42c74d; $custom-light: #87d983; $custom-dark: #000000;
JSON
{
"hex": "#42c74d",
"rgb": {
"r": 66,
"g": 199,
"b": 77
},
"hsl": {
"h": 124.962,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73213,
"c": 0.1996,
"h": 144.4
},
"luminance": 0.42541
}Semantic roles & 50–950 ramp
primary
#42C74D
secondary
#D095CB
accent
#4AD1DE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C