#42C850#42C850
#42C850 is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.198 H 144.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #42C850 |
|---|---|
| RGB | rgb(66, 200, 80) |
| HSL | hsl(126, 55%, 52%) |
| HSV | hsv(126, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 60%, 21.6%) |
| CIE-LAB | lab(71.58, -59.97, 48.61) |
| CIE-LCH | lch(71.58, 77.20, 140.97°) |
| OKLab | oklab(73.51% -0.1622 0.1144) |
| OKLCH | oklch(73.51% 0.198 144.8) |
| XYZ | xyz(24.3474, 43.0434, 14.6130) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.04
Lime Green
#32CD32
ΔE00 3.51
Leafy Green
#51B73B
ΔE00 5.02
Fresh Green
#69D84F
ΔE00 5.42
Apple
#6ECB3C
ΔE00 5.53
Emerald
#50C878
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C850 #C842BA
analogous
#77C842 #42C850 #42C893
triadic
#42C850 #5042C8 #C85042
tetradic
#42C850 #4277C8 #C842BA #C89342
square
#42C850 #4277C8 #C842BA #C89342
split-complementary
#42C850 #9342C8 #C84277
monochromatic
#206F29 #2E9F3A #42C850 #71D67C #A1E4A8
Accessibility & contrast
On white
2.19
#42C850 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#42C850 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C850
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C850 | 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)
#CBB643
Deuteranopia (green-blind)
#BBAB5A
Tritanopia (blue-blind)
#19C3AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c850; /* rgb */ color: rgb(66, 200, 80); /* oklch */ color: oklch(73.5% 0.198 144.8);
Tailwind
colors: {
custom: {
50: '#87da85',
500: '#42c850',
950: '#000000',
},
}SCSS
$custom: #42c850; $custom-light: #87da85; $custom-dark: #000000;
JSON
{
"hex": "#42c850",
"rgb": {
"r": 66,
"g": 200,
"b": 80
},
"hsl": {
"h": 126.269,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73507,
"c": 0.19848,
"h": 144.8
},
"luminance": 0.43046
}Semantic roles & 50–950 ramp
primary
#42C850
secondary
#D096CA
accent
#4ACFDE
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C