#42C479#42C479
#42C479 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.1% C 0.157 H 154.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #42C479 |
|---|---|
| RGB | rgb(66, 196, 121) |
| HSL | hsl(145, 52%, 51%) |
| HSV | hsv(145, 66%, 77%) |
| CMYK | cmyk(66.3%, 0%, 38.3%, 23.1%) |
| CIE-LAB | lab(70.88, -52.28, 27.57) |
| CIE-LCH | lch(70.88, 59.10, 152.20°) |
| OKLab | oklab(73.11% -0.1413 0.0688) |
| OKLCH | oklch(73.11% 0.157 154) |
| XYZ | xyz(25.4357, 42.0159, 24.8548) |
| Luminance | 0.4202 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 1.48
Emerald
#50C878
ΔE00 1.77
Dark Mint Green
#20C073
ΔE00 1.99
Algae Green
#21C36F
ΔE00 2.03
Seaweed
#18D17B
ΔE00 3.68
Greenish Teal
#32BF84
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C479 #C4428D
analogous
#4CC442 #42C479 #42C4BA
triadic
#42C479 #7942C4 #C47942
tetradic
#42C479 #424CC4 #C4428D #C4BA42
square
#42C479 #424CC4 #C4428D #C4BA42
split-complementary
#42C479 #BA42C4 #C4424C
monochromatic
#216A40 #30995C #42C479 #71D39A #9FE1BB
Accessibility & contrast
On white
2.23
#42C479 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#42C479 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C479
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C479 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C479 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B574
Deuteranopia (green-blind)
#B3A97E
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #42c479; /* rgb */ color: rgb(66, 196, 121); /* oklch */ color: oklch(73.1% 0.157 154.0);
Tailwind
colors: {
custom: {
50: '#85d7a0',
500: '#42c479',
950: '#000000',
},
}SCSS
$custom: #42c479; $custom-light: #85d7a0; $custom-dark: #000000;
JSON
{
"hex": "#42c479",
"rgb": {
"r": 66,
"g": 196,
"b": 121
},
"hsl": {
"h": 145.385,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.73106,
"c": 0.15721,
"h": 154
},
"luminance": 0.42019
}Semantic roles & 50–950 ramp
primary
#42C479
secondary
#CE94B5
accent
#4C9FDC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E