#42971E#42971E
#42971E is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.1% C 0.173 H 138.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #42971E |
|---|---|
| RGB | rgb(66, 151, 30) |
| HSL | hsl(102, 67%, 35%) |
| HSV | hsv(102, 80%, 59%) |
| CMYK | cmyk(56.3%, 0%, 80.1%, 40.8%) |
| CIE-LAB | lab(55.47, -46.86, 51.47) |
| CIE-LCH | lch(55.47, 69.60, 132.32°) |
| OKLab | oklab(60.06% -0.1294 0.1144) |
| OKLCH | oklch(60.06% 0.173 138.5) |
| XYZ | xyz(13.5472, 23.3841, 5.0277) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.88
Grassy Green
#419C03
ΔE00 2.42
True Green
#089404
ΔE00 3.61
Irish Green
#019529
ΔE00 4.62
Lawn Green
#4DA409
ΔE00 4.83
Emerald Green
#028F1E
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42971E #731E97
analogous
#7E971E #42971E #1E9737
triadic
#42971E #1E4297 #971E42
tetradic
#42971E #1E7E97 #731E97 #97371E
square
#42971E #1E7E97 #731E97 #97371E
split-complementary
#42971E #371E97 #971E7E
monochromatic
#15310A #2C6414 #42971E #58CA28 #7CDD53
Accessibility & contrast
On white
3.70
#42971E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#42971E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42971E
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42971E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42971E | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#3A9281
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #42971e; /* rgb */ color: rgb(66, 151, 30); /* oklch */ color: oklch(60.1% 0.173 138.5);
Tailwind
colors: {
custom: {
50: '#80b664',
500: '#42971e',
950: '#000000',
},
}SCSS
$custom: #42971e; $custom-light: #80b664; $custom-dark: #000000;
JSON
{
"hex": "#42971e",
"rgb": {
"r": 66,
"g": 151,
"b": 30
},
"hsl": {
"h": 102.149,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.60059,
"c": 0.17274,
"h": 138.5
},
"luminance": 0.23385
}Semantic roles & 50–950 ramp
primary
#42971E
secondary
#9F51C0
accent
#3EEAB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A