#42A71B#42A71B
#42A71B is a light, vivid green. Relative luminance 0.289; OKLCH L 64.4% C 0.193 H 139.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #42A71B |
|---|---|
| RGB | rgb(66, 167, 27) |
| HSL | hsl(103, 72%, 38%) |
| HSV | hsv(103, 84%, 65%) |
| CMYK | cmyk(60.5%, 0%, 83.8%, 34.5%) |
| CIE-LAB | lab(60.67, -52.89, 57.14) |
| CIE-LCH | lch(60.67, 77.86, 132.79°) |
| OKLab | oklab(64.35% -0.1458 0.1259) |
| OKLCH | oklch(64.35% 0.193 139.2) |
| XYZ | xyz(16.2626, 28.8733, 5.7528) |
| Luminance | 0.2888 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.96
Grass
#5CAC2D
ΔE00 2.99
Green (survey)
#15B01A
ΔE00 3.42
Grassy Green
#419C03
ΔE00 3.52
Leaf Green
#5CA904
ΔE00 3.66
Grass Green
#3F9B0B
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A71B #801BA7
analogous
#88A71B #42A71B #1BA73A
triadic
#42A71B #1B42A7 #A71B42
tetradic
#42A71B #1B88A7 #801BA7 #A73A1B
square
#42A71B #1B88A7 #801BA7 #A73A1B
split-complementary
#42A71B #3A1BA7 #A71B88
monochromatic
#183E0A #2D7212 #42A71B #57DC24 #7FE458
Accessibility & contrast
On white
3.10
#42A71B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#42A71B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A71B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A71B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A71B | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 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: #42a71b; /* rgb */ color: rgb(66, 167, 27); /* oklch */ color: oklch(64.4% 0.193 139.2);
Tailwind
colors: {
custom: {
50: '#83c266',
500: '#42a71b',
950: '#000000',
},
}SCSS
$custom: #42a71b; $custom-light: #83c266; $custom-dark: #000000;
JSON
{
"hex": "#42a71b",
"rgb": {
"r": 66,
"g": 167,
"b": 27
},
"hsl": {
"h": 103.286,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.64355,
"c": 0.19259,
"h": 139.2
},
"luminance": 0.28875
}Semantic roles & 50–950 ramp
primary
#42A71B
secondary
#A856C8
accent
#39EFBC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A