#42A61B#42A61B
#42A61B is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.191 H 139.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #42A61B |
|---|---|
| RGB | rgb(66, 166, 27) |
| HSL | hsl(103, 72%, 38%) |
| HSV | hsv(103, 84%, 65%) |
| CMYK | cmyk(60.2%, 0%, 83.7%, 34.9%) |
| CIE-LAB | lab(60.35, -52.54, 56.85) |
| CIE-LCH | lch(60.35, 77.41, 132.74°) |
| OKLab | oklab(64.09% -0.1448 0.1253) |
| OKLCH | oklch(64.09% 0.191 139.1) |
| XYZ | xyz(16.0801, 28.5084, 5.6920) |
| Luminance | 0.2851 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.87
Grass
#5CAC2D
ΔE00 3.15
Grassy Green
#419C03
ΔE00 3.25
Grass Green
#3F9B0B
ΔE00 3.47
Green (survey)
#15B01A
ΔE00 3.65
Leaf Green
#5CA904
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A61B #7F1BA6
analogous
#88A61B #42A61B #1BA639
triadic
#42A61B #1B42A6 #A61B42
tetradic
#42A61B #1B88A6 #7F1BA6 #A6391B
square
#42A61B #1B88A6 #7F1BA6 #A6391B
split-complementary
#42A61B #391BA6 #A61B88
monochromatic
#183D0A #2D7112 #42A61B #57DB24 #7FE458
Accessibility & contrast
On white
3.13
#42A61B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#42A61B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A61B
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A61B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A61B | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#36A08D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #42a61b; /* rgb */ color: rgb(66, 166, 27); /* oklch */ color: oklch(64.1% 0.191 139.1);
Tailwind
colors: {
custom: {
50: '#83c165',
500: '#42a61b',
950: '#000000',
},
}SCSS
$custom: #42a61b; $custom-light: #83c165; $custom-dark: #000000;
JSON
{
"hex": "#42a61b",
"rgb": {
"r": 66,
"g": 166,
"b": 27
},
"hsl": {
"h": 103.165,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.64086,
"c": 0.19146,
"h": 139.1
},
"luminance": 0.2851
}Semantic roles & 50–950 ramp
primary
#42A61B
secondary
#A756C7
accent
#39EFBC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A