#42C151#42C151
#42C151 is a light, vivid green. Relative luminance 0.399; OKLCH L 71.7% C 0.189 H 145.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #42C151 |
|---|---|
| RGB | rgb(66, 193, 81) |
| HSL | hsl(127, 51%, 51%) |
| HSV | hsv(127, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 58%, 24.3%) |
| CIE-LAB | lab(69.39, -57.39, 45.61) |
| CIE-LCH | lch(69.39, 73.31, 141.52°) |
| OKLab | oklab(71.7% -0.1552 0.108) |
| OKLCH | oklch(71.7% 0.189 145.2) |
| XYZ | xyz(22.8005, 39.8899, 14.2809) |
| Luminance | 0.3989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.19
Leafy Green
#51B73B
ΔE00 3.94
Shamrock
#01B44C
ΔE00 4.58
Lime Green
#32CD32
ΔE00 4.97
Cool Green
#33B864
ΔE00 4.98
Dark Mint
#48C072
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C151 #C142B2
analogous
#72C142 #42C151 #42C191
triadic
#42C151 #5142C1 #C15142
tetradic
#42C151 #4272C1 #C142B2 #C19142
square
#42C151 #4272C1 #C142B2 #C19142
split-complementary
#42C151 #9142C1 #C14272
monochromatic
#22672A #31953D #42C151 #70D07B #9EDFA6
Accessibility & contrast
On white
2.34
#42C151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#42C151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C151
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C151 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#B5A55A
Tritanopia (blue-blind)
#1EBCA8
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #42c151; /* rgb */ color: rgb(66, 193, 81); /* oklch */ color: oklch(71.7% 0.189 145.2);
Tailwind
colors: {
custom: {
50: '#86d585',
500: '#42c151',
950: '#000000',
},
}SCSS
$custom: #42c151; $custom-light: #86d585; $custom-dark: #000000;
JSON
{
"hex": "#42c151",
"rgb": {
"r": 66,
"g": 193,
"b": 81
},
"hsl": {
"h": 127.087,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.71697,
"c": 0.18905,
"h": 145.2
},
"luminance": 0.39892
}Semantic roles & 50–950 ramp
primary
#42C151
secondary
#CC93C5
accent
#4ECADA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C