#42AE1E#42AE1E
#42AE1E is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.199 H 139.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #42AE1E |
|---|---|
| RGB | rgb(66, 174, 30) |
| HSL | hsl(105, 71%, 40%) |
| HSV | hsv(105, 83%, 68%) |
| CMYK | cmyk(62.1%, 0%, 82.8%, 31.8%) |
| CIE-LAB | lab(62.95, -55.21, 58.42) |
| CIE-LCH | lch(62.95, 80.38, 133.38°) |
| OKLab | oklab(66.24% -0.1518 0.129) |
| OKLCH | oklch(66.24% 0.199 139.7) |
| XYZ | xyz(17.6164, 31.5224, 6.3841) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green (survey)
#15B01A
ΔE00 2.35
Grass
#5CAC2D
ΔE00 2.60
Leafy Green
#51B73B
ΔE00 3.39
Lawn Green
#4DA409
ΔE00 3.39
Kermit Green
#5CB200
ΔE00 3.78
Leaf Green
#5CA904
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42AE1E #8A1EAE
analogous
#8AAE1E #42AE1E #1EAE42
triadic
#42AE1E #1E42AE #AE1E42
tetradic
#42AE1E #1E8AAE #8A1EAE #AE421E
square
#42AE1E #1E8AAE #8A1EAE #AE421E
split-complementary
#42AE1E #421EAE #AE1E8A
monochromatic
#1A460C #2E7A15 #42AE1E #59DB2E #83E462
Accessibility & contrast
On white
2.87
#42AE1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#42AE1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42AE1E
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42AE1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42AE1E | 1.00 | 2.87 | 7.30 | 7.30 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#33A894
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #42ae1e; /* rgb */ color: rgb(66, 174, 30); /* oklch */ color: oklch(66.2% 0.199 139.7);
Tailwind
colors: {
custom: {
50: '#84c768',
500: '#42ae1e',
950: '#000000',
},
}SCSS
$custom: #42ae1e; $custom-light: #84c768; $custom-dark: #000000;
JSON
{
"hex": "#42ae1e",
"rgb": {
"r": 66,
"g": 174,
"b": 30
},
"hsl": {
"h": 105,
"s": 70.588,
"l": 40
},
"oklch": {
"l": 0.66242,
"c": 0.19921,
"h": 139.7
},
"luminance": 0.31524
}Semantic roles & 50–950 ramp
primary
#42AE1E
secondary
#AE5FC9
accent
#3AEDC1
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A