#42C452#42C452
#42C452 is a light, vivid green. Relative luminance 0.412; OKLCH L 72.5% C 0.192 H 145.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #42C452 |
|---|---|
| RGB | rgb(66, 196, 82) |
| HSL | hsl(127, 52%, 51%) |
| HSV | hsv(127, 66%, 77%) |
| CMYK | cmyk(66.3%, 0%, 58.2%, 23.1%) |
| CIE-LAB | lab(70.35, -58.33, 46.27) |
| CIE-LCH | lch(70.35, 74.45, 141.58°) |
| OKLab | oklab(72.49% -0.1577 0.1095) |
| OKLCH | oklch(72.49% 0.192 145.2) |
| XYZ | xyz(23.5081, 41.2448, 14.7032) |
| Luminance | 0.4125 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.37
Leafy Green
#51B73B
ΔE00 4.44
Lime Green
#32CD32
ΔE00 4.45
Shamrock
#01B44C
ΔE00 5.25
Algae Green
#21C36F
ΔE00 5.47
Cool Green
#33B864
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C452 #C442B4
analogous
#73C442 #42C452 #42C493
triadic
#42C452 #5242C4 #C45242
tetradic
#42C452 #4273C4 #C442B4 #C49342
square
#42C452 #4273C4 #C442B4 #C49342
split-complementary
#42C452 #9342C4 #C44273
monochromatic
#216A2A #30993D #42C452 #71D37D #9FE1A7
Accessibility & contrast
On white
2.27
#42C452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#42C452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C452
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C452 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#B7A85B
Tritanopia (blue-blind)
#1BBFAB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #42c452; /* rgb */ color: rgb(66, 196, 82); /* oklch */ color: oklch(72.5% 0.192 145.2);
Tailwind
colors: {
custom: {
50: '#86d786',
500: '#42c452',
950: '#000000',
},
}SCSS
$custom: #42c452; $custom-light: #86d786; $custom-dark: #000000;
JSON
{
"hex": "#42c452",
"rgb": {
"r": 66,
"g": 196,
"b": 82
},
"hsl": {
"h": 127.385,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.72491,
"c": 0.19197,
"h": 145.2
},
"luminance": 0.41247
}Semantic roles & 50–950 ramp
primary
#42C452
secondary
#CE94C7
accent
#4CCADC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C