#42A11A#42A11A
#42A11A is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.186 H 138.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #42A11A |
|---|---|
| RGB | rgb(66, 161, 26) |
| HSL | hsl(102, 72%, 37%) |
| HSV | hsv(102, 84%, 63%) |
| CMYK | cmyk(59%, 0%, 83.9%, 36.9%) |
| CIE-LAB | lab(58.72, -50.79, 55.63) |
| CIE-LCH | lch(58.72, 75.33, 132.39°) |
| OKLab | oklab(62.74% -0.1402 0.1226) |
| OKLCH | oklch(62.74% 0.186 138.8) |
| XYZ | xyz(15.1775, 26.7212, 5.3350) |
| Luminance | 0.2672 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.90
Grass Green
#3F9B0B
ΔE00 2.01
Lawn Green
#4DA409
ΔE00 2.10
Grass
#5CAC2D
ΔE00 4.22
Leaf Green
#5CA904
ΔE00 4.47
Kelly Green (survey)
#02AB2E
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A11A #791AA1
analogous
#86A11A #42A11A #1AA135
triadic
#42A11A #1A42A1 #A11A42
tetradic
#42A11A #1A86A1 #791AA1 #A1351A
square
#42A11A #1A86A1 #791AA1 #A1351A
split-complementary
#42A11A #351AA1 #A11A86
monochromatic
#173809 #2C6C11 #42A11A #58D623 #7DE352
Accessibility & contrast
On white
3.31
#42A11A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#42A11A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A11A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A11A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A11A | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#389B89
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #42a11a; /* rgb */ color: rgb(66, 161, 26); /* oklch */ color: oklch(62.7% 0.186 138.8);
Tailwind
colors: {
custom: {
50: '#82be64',
500: '#42a11a',
950: '#000000',
},
}SCSS
$custom: #42a11a; $custom-light: #82be64; $custom-dark: #000000;
JSON
{
"hex": "#42a11a",
"rgb": {
"r": 66,
"g": 161,
"b": 26
},
"hsl": {
"h": 102.222,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.62737,
"c": 0.18619,
"h": 138.8
},
"luminance": 0.26723
}Semantic roles & 50–950 ramp
primary
#42A11A
secondary
#A351C6
accent
#39EFB9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A