#42A71A#42A71A
#42A71A is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.193 H 139.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #42A71A |
|---|---|
| RGB | rgb(66, 167, 26) |
| HSL | hsl(103, 73%, 38%) |
| HSV | hsv(103, 84%, 65%) |
| CMYK | cmyk(60.5%, 0%, 84.4%, 34.5%) |
| CIE-LAB | lab(60.67, -52.94, 57.40) |
| CIE-LCH | lch(60.67, 78.08, 132.69°) |
| OKLab | oklab(64.35% -0.1459 0.1263) |
| OKLCH | oklch(64.35% 0.193 139.1) |
| XYZ | xyz(16.2513, 28.8688, 5.6929) |
| Luminance | 0.2887 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.91
Grass
#5CAC2D
ΔE00 2.99
Green (survey)
#15B01A
ΔE00 3.44
Grassy Green
#419C03
ΔE00 3.51
Leaf Green
#5CA904
ΔE00 3.62
Grass Green
#3F9B0B
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A71A #7F1AA7
analogous
#88A71A #42A71A #1AA739
triadic
#42A71A #1A42A7 #A71A42
tetradic
#42A71A #1A88A7 #7F1AA7 #A7391A
square
#42A71A #1A88A7 #7F1AA7 #A7391A
split-complementary
#42A71A #391AA7 #A71A88
monochromatic
#183D0A #2D7212 #42A71A #57DC22 #7FE557
Accessibility & contrast
On white
3.10
#42A71A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#42A71A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A71A
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A71A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A71A | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#36A18E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #42a71a; /* rgb */ color: rgb(66, 167, 26); /* oklch */ color: oklch(64.3% 0.193 139.1);
Tailwind
colors: {
custom: {
50: '#83c265',
500: '#42a71a',
950: '#000000',
},
}SCSS
$custom: #42a71a; $custom-light: #83c265; $custom-dark: #000000;
JSON
{
"hex": "#42a71a",
"rgb": {
"r": 66,
"g": 167,
"b": 26
},
"hsl": {
"h": 102.979,
"s": 73.057,
"l": 37.843
},
"oklch": {
"l": 0.6435,
"c": 0.19298,
"h": 139.1
},
"luminance": 0.2887
}Semantic roles & 50–950 ramp
primary
#42A71A
secondary
#A755C8
accent
#38F0BC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A