#42C877#42C877
#42C877 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.1% C 0.164 H 152.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #42C877 |
|---|---|
| RGB | rgb(66, 200, 119) |
| HSL | hsl(144, 55%, 52%) |
| HSV | hsv(144, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 40.5%, 21.6%) |
| CIE-LAB | lab(72.09, -54.18, 30.20) |
| CIE-LCH | lch(72.09, 62.03, 150.86°) |
| OKLab | oklab(74.09% -0.1463 0.075) |
| OKLCH | oklch(74.09% 0.164 152.8) |
| XYZ | xyz(26.2286, 43.7959, 24.5204) |
| Luminance | 0.4380 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 0.99
Algae Green
#21C36F
ΔE00 2.08
Dark Mint
#48C072
ΔE00 2.11
Seaweed
#18D17B
ΔE00 2.72
Dark Mint Green
#20C073
ΔE00 2.80
Cool Green
#33B864
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C877 #C84293
analogous
#50C842 #42C877 #42C8BA
triadic
#42C877 #7742C8 #C87742
tetradic
#42C877 #4250C8 #C84293 #C8BA42
square
#42C877 #4250C8 #C84293 #C8BA42
split-complementary
#42C877 #BA42C8 #C84250
monochromatic
#206F40 #2E9F5B #42C877 #71D699 #A1E4BB
Accessibility & contrast
On white
2.15
#42C877 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#42C877 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C877
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C877 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C877 | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B871
Deuteranopia (green-blind)
#B7AC7C
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c877; /* rgb */ color: rgb(66, 200, 119); /* oklch */ color: oklch(74.1% 0.164 152.8);
Tailwind
colors: {
custom: {
50: '#86da9f',
500: '#42c877',
950: '#000000',
},
}SCSS
$custom: #42c877; $custom-light: #86da9f; $custom-dark: #000000;
JSON
{
"hex": "#42c877",
"rgb": {
"r": 66,
"g": 200,
"b": 119
},
"hsl": {
"h": 143.731,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.74091,
"c": 0.16439,
"h": 152.8
},
"luminance": 0.43799
}Semantic roles & 50–950 ramp
primary
#42C877
secondary
#D096B9
accent
#4AA3DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E