#42971C#42971C
#42971C is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.174 H 138.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #42971C |
|---|---|
| RGB | rgb(66, 151, 28) |
| HSL | hsl(101, 69%, 35%) |
| HSV | hsv(101, 81%, 59%) |
| CMYK | cmyk(56.3%, 0%, 81.5%, 40.8%) |
| CIE-LAB | lab(55.46, -46.98, 52.07) |
| CIE-LCH | lch(55.46, 70.13, 132.06°) |
| OKLab | oklab(60.05% -0.1298 0.1154) |
| OKLCH | oklch(60.05% 0.174 138.4) |
| XYZ | xyz(13.5225, 23.3742, 4.8975) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.75
Grassy Green
#419C03
ΔE00 2.28
True Green
#089404
ΔE00 3.61
Irish Green
#019529
ΔE00 4.73
Lawn Green
#4DA409
ΔE00 4.75
Emerald Green
#028F1E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42971C #711C97
analogous
#80971C #42971C #1C9733
triadic
#42971C #1C4297 #971C42
tetradic
#42971C #1C8097 #711C97 #97331C
square
#42971C #1C8097 #711C97 #97331C
split-complementary
#42971C #331C97 #971C80
monochromatic
#153009 #2B6312 #42971C #59CB26 #7BDE4F
Accessibility & contrast
On white
3.70
#42971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#42971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42971C
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42971C | 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)
#91822B
Tritanopia (blue-blind)
#3A9281
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #42971c; /* rgb */ color: rgb(66, 151, 28); /* oklch */ color: oklch(60.0% 0.174 138.4);
Tailwind
colors: {
custom: {
50: '#80b664',
500: '#42971c',
950: '#000000',
},
}SCSS
$custom: #42971c; $custom-light: #80b664; $custom-dark: #000000;
JSON
{
"hex": "#42971c",
"rgb": {
"r": 66,
"g": 151,
"b": 28
},
"hsl": {
"h": 101.463,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.60048,
"c": 0.17371,
"h": 138.4
},
"luminance": 0.23375
}Semantic roles & 50–950 ramp
primary
#42971C
secondary
#9D4EC1
accent
#3CECB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A