#42C751#42C751
#42C751 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.196 H 145.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #42C751 |
|---|---|
| RGB | rgb(66, 199, 81) |
| HSL | hsl(127, 54%, 52%) |
| HSV | hsv(127, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 59.3%, 22%) |
| CIE-LAB | lab(71.28, -59.51, 47.81) |
| CIE-LCH | lch(71.28, 76.33, 141.22°) |
| OKLab | oklab(73.26% -0.1609 0.1127) |
| OKLCH | oklch(73.26% 0.196 145) |
| XYZ | xyz(24.1538, 42.5966, 14.7320) |
| Luminance | 0.4260 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.82
Lime Green
#32CD32
ΔE00 3.79
Leafy Green
#51B73B
ΔE00 4.88
Fresh Green
#69D84F
ΔE00 5.70
Apple
#6ECB3C
ΔE00 5.72
Emerald
#50C878
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C751 #C742B8
analogous
#76C742 #42C751 #42C794
triadic
#42C751 #5142C7 #C75142
tetradic
#42C751 #4276C7 #C742B8 #C79442
square
#42C751 #4276C7 #C742B8 #C79442
split-complementary
#42C751 #9442C7 #C74276
monochromatic
#216E29 #2F9D3B #42C751 #71D57C #A0E3A8
Accessibility & contrast
On white
2.21
#42C751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#42C751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C751
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C751 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#19C2AD
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c751; /* rgb */ color: rgb(66, 199, 81); /* oklch */ color: oklch(73.3% 0.196 145.0);
Tailwind
colors: {
custom: {
50: '#87d985',
500: '#42c751',
950: '#000000',
},
}SCSS
$custom: #42c751; $custom-light: #87d985; $custom-dark: #000000;
JSON
{
"hex": "#42c751",
"rgb": {
"r": 66,
"g": 199,
"b": 81
},
"hsl": {
"h": 126.767,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73259,
"c": 0.19647,
"h": 145
},
"luminance": 0.42599
}Semantic roles & 50–950 ramp
primary
#42C751
secondary
#D095C9
accent
#4ACDDE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C