#42C950#42C950
#42C950 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.200 H 144.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #42C950 |
|---|---|
| RGB | rgb(66, 201, 80) |
| HSL | hsl(126, 56%, 52%) |
| HSV | hsv(126, 67%, 79%) |
| CMYK | cmyk(67.2%, 0%, 60.2%, 21.2%) |
| CIE-LAB | lab(71.90, -60.32, 48.97) |
| CIE-LCH | lch(71.90, 77.69, 140.93°) |
| OKLab | oklab(73.77% -0.1632 0.1151) |
| OKLCH | oklch(73.77% 0.2 144.8) |
| XYZ | xyz(24.5798, 43.5081, 14.6904) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.23
Lime Green
#32CD32
ΔE00 3.36
Fresh Green
#69D84F
ΔE00 5.20
Leafy Green
#51B73B
ΔE00 5.21
Apple
#6ECB3C
ΔE00 5.44
Emerald
#50C878
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C950 #C942BB
analogous
#78C942 #42C950 #42C993
triadic
#42C950 #5042C9 #C95042
tetradic
#42C950 #4278C9 #C942BB #C99342
square
#42C950 #4278C9 #C942BB #C99342
split-complementary
#42C950 #9342C9 #C94278
monochromatic
#207028 #2EA03A #42C950 #72D77C #A1E4A8
Accessibility & contrast
On white
2.16
#42C950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#42C950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C950
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C950 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB743
Deuteranopia (green-blind)
#BCAC5A
Tritanopia (blue-blind)
#18C4AF
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #42c950; /* rgb */ color: rgb(66, 201, 80); /* oklch */ color: oklch(73.8% 0.200 144.8);
Tailwind
colors: {
custom: {
50: '#87db85',
500: '#42c950',
950: '#000000',
},
}SCSS
$custom: #42c950; $custom-light: #87db85; $custom-dark: #000000;
JSON
{
"hex": "#42c950",
"rgb": {
"r": 66,
"g": 201,
"b": 80
},
"hsl": {
"h": 126.222,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.73767,
"c": 0.19969,
"h": 144.8
},
"luminance": 0.43511
}Semantic roles & 50–950 ramp
primary
#42C950
secondary
#D196CB
accent
#49CFDF
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C