#42C84F#42C84F
#42C84F is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.199 H 144.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #42C84F |
|---|---|
| RGB | rgb(66, 200, 79) |
| HSL | hsl(126, 55%, 52%) |
| HSV | hsv(126, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 60.5%, 21.6%) |
| CIE-LAB | lab(71.57, -60.09, 49.05) |
| CIE-LCH | lch(71.57, 77.56, 140.78°) |
| OKLab | oklab(73.5% -0.1626 0.1152) |
| OKLCH | oklch(73.5% 0.199 144.7) |
| XYZ | xyz(24.3108, 43.0288, 14.4198) |
| Luminance | 0.4303 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.09
Lime Green
#32CD32
ΔE00 3.39
Leafy Green
#51B73B
ΔE00 4.97
Fresh Green
#69D84F
ΔE00 5.36
Apple
#6ECB3C
ΔE00 5.43
Kelly Green
#4CBB17
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C84F #C842BB
analogous
#78C842 #42C84F #42C892
triadic
#42C84F #4F42C8 #C84F42
tetradic
#42C84F #4278C8 #C842BB #C89242
square
#42C84F #4278C8 #C842BB #C89242
split-complementary
#42C84F #9242C8 #C84278
monochromatic
#206F28 #2E9F39 #42C84F #71D67B #A1E4A7
Accessibility & contrast
On white
2.19
#42C84F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#42C84F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C84F
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C84F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C84F | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB642
Deuteranopia (green-blind)
#BBAB59
Tritanopia (blue-blind)
#1AC3AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c84f; /* rgb */ color: rgb(66, 200, 79); /* oklch */ color: oklch(73.5% 0.199 144.7);
Tailwind
colors: {
custom: {
50: '#87da84',
500: '#42c84f',
950: '#000000',
},
}SCSS
$custom: #42c84f; $custom-light: #87da84; $custom-dark: #000000;
JSON
{
"hex": "#42c84f",
"rgb": {
"r": 66,
"g": 200,
"b": 79
},
"hsl": {
"h": 125.821,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73496,
"c": 0.19926,
"h": 144.7
},
"luminance": 0.43031
}Semantic roles & 50–950 ramp
primary
#42C84F
secondary
#D096CA
accent
#4AD0DE
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C