#42C148#42C148
#42C148 is a light, vivid green. Relative luminance 0.398; OKLCH L 71.6% C 0.196 H 143.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #42C148 |
|---|---|
| RGB | rgb(66, 193, 72) |
| HSL | hsl(123, 51%, 51%) |
| HSV | hsv(123, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 62.7%, 24.3%) |
| CIE-LAB | lab(69.30, -58.44, 49.56) |
| CIE-LCH | lch(69.30, 76.62, 139.70°) |
| OKLab | oklab(71.59% -0.1584 0.1157) |
| OKLCH | oklch(71.59% 0.196 143.9) |
| XYZ | xyz(22.4851, 39.7637, 12.6198) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.65
Leafy Green
#51B73B
ΔE00 3.25
Lime Green
#32CD32
ΔE00 4.10
Kelly Green
#4CBB17
ΔE00 4.89
Shamrock
#01B44C
ΔE00 5.07
Apple
#6ECB3C
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C148 #C142BB
analogous
#7BC142 #42C148 #42C188
triadic
#42C148 #4842C1 #C14842
tetradic
#42C148 #427BC1 #C142BB #C18842
square
#42C148 #427BC1 #C142BB #C18842
split-complementary
#42C148 #8842C1 #C1427B
monochromatic
#226725 #319536 #42C148 #70D075 #9EDFA1
Accessibility & contrast
On white
2.35
#42C148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#42C148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C148
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C148 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#B5A552
Tritanopia (blue-blind)
#22BCA7
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #42c148; /* rgb */ color: rgb(66, 193, 72); /* oklch */ color: oklch(71.6% 0.196 143.9);
Tailwind
colors: {
custom: {
50: '#86d580',
500: '#42c148',
950: '#000000',
},
}SCSS
$custom: #42c148; $custom-light: #86d580; $custom-dark: #000000;
JSON
{
"hex": "#42c148",
"rgb": {
"r": 66,
"g": 193,
"b": 72
},
"hsl": {
"h": 122.835,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.71593,
"c": 0.19614,
"h": 143.9
},
"luminance": 0.39766
}Semantic roles & 50–950 ramp
primary
#42C148
secondary
#CC93C9
accent
#4ED3DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C