#40971C#40971C
#40971C is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.0% C 0.175 H 138.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #40971C |
|---|---|
| RGB | rgb(64, 151, 28) |
| HSL | hsl(102, 69%, 35%) |
| HSV | hsv(102, 81%, 59%) |
| CMYK | cmyk(57.6%, 0%, 81.5%, 40.8%) |
| CIE-LAB | lab(55.39, -47.53, 51.98) |
| CIE-LCH | lch(55.39, 70.44, 132.44°) |
| OKLab | oklab(59.97% -0.1312 0.1152) |
| OKLCH | oklch(59.97% 0.175 138.7) |
| XYZ | xyz(13.3900, 23.3059, 4.8913) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.80
Grassy Green
#419C03
ΔE00 2.35
True Green
#089404
ΔE00 3.41
Irish Green
#019529
ΔE00 4.52
Lawn Green
#4DA409
ΔE00 4.85
Emerald Green
#028F1E
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40971C #731C97
analogous
#7D971C #40971C #1C9735
triadic
#40971C #1C4097 #971C40
tetradic
#40971C #1C7D97 #731C97 #97351C
square
#40971C #1C7D97 #731C97 #97351C
split-complementary
#40971C #351C97 #971C7D
monochromatic
#143009 #2A6312 #40971C #56CB26 #79DE4F
Accessibility & contrast
On white
3.71
#40971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#40971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #40971C
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40971C | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#379281
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #40971c; /* rgb */ color: rgb(64, 151, 28); /* oklch */ color: oklch(60.0% 0.175 138.7);
Tailwind
colors: {
custom: {
50: '#7fb664',
500: '#40971c',
950: '#000000',
},
}SCSS
$custom: #40971c; $custom-light: #7fb664; $custom-dark: #000000;
JSON
{
"hex": "#40971c",
"rgb": {
"r": 64,
"g": 151,
"b": 28
},
"hsl": {
"h": 102.439,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.59971,
"c": 0.17462,
"h": 138.7
},
"luminance": 0.23307
}Semantic roles & 50–950 ramp
primary
#40971C
secondary
#9F4EC1
accent
#3CECB8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A