#42C252#42C252
#42C252 is a light, vivid green. Relative luminance 0.404; OKLCH L 72.0% C 0.189 H 145.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #42C252 |
|---|---|
| RGB | rgb(66, 194, 82) |
| HSL | hsl(128, 51%, 51%) |
| HSV | hsv(128, 66%, 76%) |
| CMYK | cmyk(66%, 0%, 57.7%, 23.9%) |
| CIE-LAB | lab(69.72, -57.62, 45.53) |
| CIE-LCH | lch(69.72, 73.44, 141.69°) |
| OKLab | oklab(71.97% -0.1558 0.1079) |
| OKLCH | oklch(71.97% 0.189 145.3) |
| XYZ | xyz(23.0600, 40.3486, 14.5538) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.21
Leafy Green
#51B73B
ΔE00 4.16
Shamrock
#01B44C
ΔE00 4.78
Lime Green
#32CD32
ΔE00 4.86
Cool Green
#33B864
ΔE00 5.06
Algae Green
#21C36F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C252 #C242B2
analogous
#72C242 #42C252 #42C292
triadic
#42C252 #5242C2 #C25242
tetradic
#42C252 #4272C2 #C242B2 #C29242
square
#42C252 #4272C2 #C242B2 #C29242
split-complementary
#42C252 #9242C2 #C24272
monochromatic
#22682A #31963D #42C252 #70D17C #9FE0A7
Accessibility & contrast
On white
2.32
#42C252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#42C252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C252
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C252 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#B6A65B
Tritanopia (blue-blind)
#1CBDA9
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #42c252; /* rgb */ color: rgb(66, 194, 82); /* oklch */ color: oklch(72.0% 0.189 145.3);
Tailwind
colors: {
custom: {
50: '#86d586',
500: '#42c252',
950: '#000000',
},
}SCSS
$custom: #42c252; $custom-light: #86d586; $custom-dark: #000000;
JSON
{
"hex": "#42c252",
"rgb": {
"r": 66,
"g": 194,
"b": 82
},
"hsl": {
"h": 127.5,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.7197,
"c": 0.18948,
"h": 145.3
},
"luminance": 0.40351
}Semantic roles & 50–950 ramp
primary
#42C252
secondary
#CC94C5
accent
#4DC9DB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C