#42C150#42C150
#42C150 is a light, vivid green. Relative luminance 0.399; OKLCH L 71.7% C 0.190 H 145.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #42C150 |
|---|---|
| RGB | rgb(66, 193, 80) |
| HSL | hsl(127, 51%, 51%) |
| HSV | hsv(127, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 58.5%, 24.3%) |
| CIE-LAB | lab(69.38, -57.51, 46.06) |
| CIE-LCH | lch(69.38, 73.68, 141.31°) |
| OKLab | oklab(71.69% -0.1556 0.1089) |
| OKLCH | oklch(71.69% 0.19 145) |
| XYZ | xyz(22.7632, 39.8750, 14.0849) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.22
Leafy Green
#51B73B
ΔE00 3.85
Shamrock
#01B44C
ΔE00 4.63
Lime Green
#32CD32
ΔE00 4.86
Cool Green
#33B864
ΔE00 5.10
Dark Mint
#48C072
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C150 #C142B3
analogous
#73C142 #42C150 #42C18F
triadic
#42C150 #5042C1 #C15042
tetradic
#42C150 #4273C1 #C142B3 #C18F42
square
#42C150 #4273C1 #C142B3 #C18F42
split-complementary
#42C150 #8F42C1 #C14273
monochromatic
#226729 #31953C #42C150 #70D07B #9EDFA5
Accessibility & contrast
On white
2.34
#42C150 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#42C150 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C150
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C150 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C150 | 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)
#C4B044
Deuteranopia (green-blind)
#B5A559
Tritanopia (blue-blind)
#1EBCA8
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #42c150; /* rgb */ color: rgb(66, 193, 80); /* oklch */ color: oklch(71.7% 0.190 145.0);
Tailwind
colors: {
custom: {
50: '#86d584',
500: '#42c150',
950: '#000000',
},
}SCSS
$custom: #42c150; $custom-light: #86d584; $custom-dark: #000000;
JSON
{
"hex": "#42c150",
"rgb": {
"r": 66,
"g": 193,
"b": 80
},
"hsl": {
"h": 126.614,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.71685,
"c": 0.18987,
"h": 145
},
"luminance": 0.39877
}Semantic roles & 50–950 ramp
primary
#42C150
secondary
#CC93C5
accent
#4ECBDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C