#42C77B#42C77B
#42C77B is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.159 H 154.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #42C77B |
|---|---|
| RGB | rgb(66, 199, 123) |
| HSL | hsl(146, 54%, 52%) |
| HSV | hsv(146, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 38.2%, 22%) |
| CIE-LAB | lab(71.85, -53.07, 27.80) |
| CIE-LCH | lch(71.85, 59.91, 152.35°) |
| OKLab | oklab(73.91% -0.1435 0.0694) |
| OKLCH | oklch(73.91% 0.159 154.2) |
| XYZ | xyz(26.2430, 43.4323, 25.7353) |
| Luminance | 0.4344 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.45
Dark Mint
#48C072
ΔE00 2.08
Algae Green
#21C36F
ΔE00 2.26
Dark Mint Green
#20C073
ΔE00 2.49
Seaweed
#18D17B
ΔE00 3.02
Greenish Teal
#32BF84
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C77B #C7428E
analogous
#4CC742 #42C77B #42C7BD
triadic
#42C77B #7B42C7 #C77B42
tetradic
#42C77B #424CC7 #C7428E #C7BD42
square
#42C77B #424CC7 #C7428E #C7BD42
split-complementary
#42C77B #BD42C7 #C7424C
monochromatic
#216E42 #2F9D5E #42C77B #71D59C #A0E3BD
Accessibility & contrast
On white
2.17
#42C77B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#42C77B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C77B
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C77B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C77B | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B776
Deuteranopia (green-blind)
#B6AB80
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c77b; /* rgb */ color: rgb(66, 199, 123); /* oklch */ color: oklch(73.9% 0.159 154.2);
Tailwind
colors: {
custom: {
50: '#86d9a2',
500: '#42c77b',
950: '#000000',
},
}SCSS
$custom: #42c77b; $custom-light: #86d9a2; $custom-dark: #000000;
JSON
{
"hex": "#42c77b",
"rgb": {
"r": 66,
"g": 199,
"b": 123
},
"hsl": {
"h": 145.714,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73912,
"c": 0.15938,
"h": 154.2
},
"luminance": 0.43435
}Semantic roles & 50–950 ramp
primary
#42C77B
secondary
#D095B7
accent
#4A9EDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F