#42A11B#42A11B
#42A11B is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.186 H 138.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #42A11B |
|---|---|
| RGB | rgb(66, 161, 27) |
| HSL | hsl(103, 71%, 37%) |
| HSV | hsv(103, 83%, 63%) |
| CMYK | cmyk(59%, 0%, 83.2%, 36.9%) |
| CIE-LAB | lab(58.72, -50.74, 55.37) |
| CIE-LCH | lch(58.72, 75.10, 132.50°) |
| OKLab | oklab(62.74% -0.14 0.1222) |
| OKLCH | oklch(62.74% 0.186 138.9) |
| XYZ | xyz(15.1889, 26.7258, 5.3949) |
| Luminance | 0.2673 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.95
Grass Green
#3F9B0B
ΔE00 2.04
Lawn Green
#4DA409
ΔE00 2.16
Grass
#5CAC2D
ΔE00 4.22
Leaf Green
#5CA904
ΔE00 4.51
Kelly Green (survey)
#02AB2E
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A11B #7A1BA1
analogous
#85A11B #42A11B #1BA137
triadic
#42A11B #1B42A1 #A11B42
tetradic
#42A11B #1B85A1 #7A1BA1 #A1371B
square
#42A11B #1B85A1 #7A1BA1 #A1371B
split-complementary
#42A11B #371BA1 #A11B85
monochromatic
#173809 #2D6D12 #42A11B #57D524 #7DE254
Accessibility & contrast
On white
3.31
#42A11B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#42A11B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A11B
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A11B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A11B | 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)
#9A8A2C
Tritanopia (blue-blind)
#389B89
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #42a11b; /* rgb */ color: rgb(66, 161, 27); /* oklch */ color: oklch(62.7% 0.186 138.9);
Tailwind
colors: {
custom: {
50: '#82be65',
500: '#42a11b',
950: '#000000',
},
}SCSS
$custom: #42a11b; $custom-light: #82be65; $custom-dark: #000000;
JSON
{
"hex": "#42a11b",
"rgb": {
"r": 66,
"g": 161,
"b": 27
},
"hsl": {
"h": 102.537,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.62742,
"c": 0.18578,
"h": 138.9
},
"luminance": 0.26727
}Semantic roles & 50–950 ramp
primary
#42A11B
secondary
#A452C5
accent
#3AEEBA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A