#42A71E#42A71E
#42A71E is a light, vivid green. Relative luminance 0.289; OKLCH L 64.4% C 0.191 H 139.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #42A71E |
|---|---|
| RGB | rgb(66, 167, 30) |
| HSL | hsl(104, 70%, 39%) |
| HSV | hsv(104, 82%, 65%) |
| CMYK | cmyk(60.5%, 0%, 82%, 34.5%) |
| CIE-LAB | lab(60.68, -52.74, 56.34) |
| CIE-LCH | lch(60.68, 77.17, 133.11°) |
| OKLab | oklab(64.37% -0.1452 0.1246) |
| OKLCH | oklch(64.37% 0.191 139.4) |
| XYZ | xyz(16.2991, 28.8879, 5.9450) |
| Luminance | 0.2889 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.13
Grass
#5CAC2D
ΔE00 2.98
Green (survey)
#15B01A
ΔE00 3.39
Grassy Green
#419C03
ΔE00 3.59
Grass Green
#3F9B0B
ΔE00 3.80
Leaf Green
#5CA904
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A71E #831EA7
analogous
#86A71E #42A71E #1EA73F
triadic
#42A71E #1E42A7 #A71E42
tetradic
#42A71E #1E86A7 #831EA7 #A73F1E
square
#42A71E #1E86A7 #831EA7 #A73F1E
split-complementary
#42A71E #3F1EA7 #A71E86
monochromatic
#193F0B #2D7315 #42A71E #58D92A #80E25D
Accessibility & contrast
On white
3.10
#42A71E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#42A71E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A71E
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A71E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A71E | 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)
#A08F2F
Tritanopia (blue-blind)
#36A18E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #42a71e; /* rgb */ color: rgb(66, 167, 30); /* oklch */ color: oklch(64.4% 0.191 139.4);
Tailwind
colors: {
custom: {
50: '#83c267',
500: '#42a71e',
950: '#000000',
},
}SCSS
$custom: #42a71e; $custom-light: #83c267; $custom-dark: #000000;
JSON
{
"hex": "#42a71e",
"rgb": {
"r": 66,
"g": 167,
"b": 30
},
"hsl": {
"h": 104.234,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.6437,
"c": 0.19135,
"h": 139.4
},
"luminance": 0.28889
}Semantic roles & 50–950 ramp
primary
#42A71E
secondary
#AA5BC6
accent
#3BECBE
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A