#42C855#42C855
#42C855 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.194 H 145.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #42C855 |
|---|---|
| RGB | rgb(66, 200, 85) |
| HSL | hsl(129, 55%, 52%) |
| HSV | hsv(129, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 57.5%, 21.6%) |
| CIE-LAB | lab(71.64, -59.36, 46.39) |
| CIE-LCH | lch(71.64, 75.34, 141.99°) |
| OKLab | oklab(73.57% -0.1604 0.11) |
| OKLCH | oklch(73.57% 0.194 145.6) |
| XYZ | xyz(24.5391, 43.1201, 15.6224) |
| Luminance | 0.4312 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.89
Lime Green
#32CD32
ΔE00 4.13
Leafy Green
#51B73B
ΔE00 5.32
Emerald
#50C878
ΔE00 5.38
Algae Green
#21C36F
ΔE00 5.54
Fresh Green
#69D84F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C855 #C842B5
analogous
#72C842 #42C855 #42C898
triadic
#42C855 #5542C8 #C85542
tetradic
#42C855 #4272C8 #C842B5 #C89842
square
#42C855 #4272C8 #C842B5 #C89842
split-complementary
#42C855 #9842C8 #C84272
monochromatic
#206F2C #2E9F3E #42C855 #71D680 #A1E4AA
Accessibility & contrast
On white
2.18
#42C855 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#42C855 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C855
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C855 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C855 | 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)
#CBB64A
Deuteranopia (green-blind)
#BBAB5E
Tritanopia (blue-blind)
#16C3AF
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c855; /* rgb */ color: rgb(66, 200, 85); /* oklch */ color: oklch(73.6% 0.194 145.6);
Tailwind
colors: {
custom: {
50: '#87da88',
500: '#42c855',
950: '#000000',
},
}SCSS
$custom: #42c855; $custom-light: #87da88; $custom-dark: #000000;
JSON
{
"hex": "#42c855",
"rgb": {
"r": 66,
"g": 200,
"b": 85
},
"hsl": {
"h": 128.507,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73567,
"c": 0.19448,
"h": 145.6
},
"luminance": 0.43123
}Semantic roles & 50–950 ramp
primary
#42C855
secondary
#D096C8
accent
#4AC9DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D