#42A11C#42A11C
#42A11C is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.185 H 139.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #42A11C |
|---|---|
| RGB | rgb(66, 161, 28) |
| HSL | hsl(103, 70%, 37%) |
| HSV | hsv(103, 83%, 63%) |
| CMYK | cmyk(59%, 0%, 82.6%, 36.9%) |
| CIE-LAB | lab(58.72, -50.69, 55.10) |
| CIE-LCH | lch(58.72, 74.86, 132.61°) |
| OKLab | oklab(62.75% -0.1398 0.1217) |
| OKLCH | oklch(62.75% 0.185 139) |
| XYZ | xyz(15.2006, 26.7305, 5.4569) |
| Luminance | 0.2673 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grassy Green
#419C03
ΔE00 2.00
Grass Green
#3F9B0B
ΔE00 2.07
Lawn Green
#4DA409
ΔE00 2.22
Grass
#5CAC2D
ΔE00 4.23
Leaf Green
#5CA904
ΔE00 4.56
Kelly Green (survey)
#02AB2E
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A11C #7B1CA1
analogous
#85A11C #42A11C #1CA139
triadic
#42A11C #1C42A1 #A11C42
tetradic
#42A11C #1C85A1 #7B1CA1 #A1391C
square
#42A11C #1C85A1 #7B1CA1 #A1391C
split-complementary
#42A11C #391CA1 #A11C85
monochromatic
#17390A #2D6D13 #42A11C #57D525 #7EE256
Accessibility & contrast
On white
3.31
#42A11C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#42A11C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A11C
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A11C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A11C | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#389B89
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #42a11c; /* rgb */ color: rgb(66, 161, 28); /* oklch */ color: oklch(62.7% 0.185 139.0);
Tailwind
colors: {
custom: {
50: '#82be65',
500: '#42a11c',
950: '#000000',
},
}SCSS
$custom: #42a11c; $custom-light: #82be65; $custom-dark: #000000;
JSON
{
"hex": "#42a11c",
"rgb": {
"r": 66,
"g": 161,
"b": 28
},
"hsl": {
"h": 102.857,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.62747,
"c": 0.18536,
"h": 139
},
"luminance": 0.26732
}Semantic roles & 50–950 ramp
primary
#42A11C
secondary
#A554C5
accent
#3BEDBA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A