#42C854#42C854
#42C854 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.195 H 145.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #42C854 |
|---|---|
| RGB | rgb(66, 200, 84) |
| HSL | hsl(128, 55%, 52%) |
| HSV | hsv(128, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 58%, 21.6%) |
| CIE-LAB | lab(71.63, -59.49, 46.84) |
| CIE-LCH | lch(71.63, 75.72, 141.78°) |
| OKLab | oklab(73.56% -0.1608 0.1109) |
| OKLCH | oklch(73.56% 0.195 145.4) |
| XYZ | xyz(24.4996, 43.1043, 15.4146) |
| Luminance | 0.4311 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.91
Lime Green
#32CD32
ΔE00 4.00
Leafy Green
#51B73B
ΔE00 5.25
Emerald
#50C878
ΔE00 5.51
Algae Green
#21C36F
ΔE00 5.67
Fresh Green
#69D84F
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C854 #C842B6
analogous
#73C842 #42C854 #42C897
triadic
#42C854 #5442C8 #C85442
tetradic
#42C854 #4273C8 #C842B6 #C89742
square
#42C854 #4273C8 #C842B6 #C89742
split-complementary
#42C854 #9742C8 #C84273
monochromatic
#206F2B #2E9F3D #42C854 #71D67F #A1E4AA
Accessibility & contrast
On white
2.18
#42C854 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#42C854 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C854
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C854 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C854 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB648
Deuteranopia (green-blind)
#BBAB5D
Tritanopia (blue-blind)
#16C3AF
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c854; /* rgb */ color: rgb(66, 200, 84); /* oklch */ color: oklch(73.6% 0.195 145.4);
Tailwind
colors: {
custom: {
50: '#87da87',
500: '#42c854',
950: '#000000',
},
}SCSS
$custom: #42c854; $custom-light: #87da87; $custom-dark: #000000;
JSON
{
"hex": "#42c854",
"rgb": {
"r": 66,
"g": 200,
"b": 84
},
"hsl": {
"h": 128.06,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73555,
"c": 0.19529,
"h": 145.4
},
"luminance": 0.43107
}Semantic roles & 50–950 ramp
primary
#42C854
secondary
#D096C8
accent
#4ACADE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C