#40971E#40971E

#40971E is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.0% C 0.174 H 138.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#40971E
RGBrgb(64, 151, 30)
HSLhsl(103, 67%, 35%)
HSVhsv(103, 80%, 59%)
CMYKcmyk(57.6%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.40, -47.42, 51.37)
CIE-LCHlch(55.40, 69.91, 132.71°)
OKLaboklab(59.98% -0.1308 0.1142)
OKLCHoklch(59.98% 0.174 138.9)
XYZxyz(13.4148, 23.3158, 5.0215)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40971E #751E97
analogous
#7D971E #40971E #1E9738
triadic
#40971E #1E4097 #971E40
tetradic
#40971E #1E7D97 #751E97 #97381E
square
#40971E #1E7D97 #751E97 #97381E
split-complementary
#40971E #381E97 #971E7D
monochromatic
#15310A #2A6414 #40971E #56CA28 #79DD53

Accessibility & contrast

On white

3.71
#40971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#40971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40971E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40971E#FFFFFF#000000##000000
##40971E1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#379281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40971e;
/* rgb */ color: rgb(64, 151, 30);
/* oklch */ color: oklch(60.0% 0.174 138.9);
Tailwind
colors: {
  custom: {
    50: '#7fb664',
    500: '#40971e',
    950: '#000000',
  },
}
SCSS
$custom: #40971e;
$custom-light: #7fb664;
$custom-dark: #000000;
JSON
{
  "hex": "#40971e",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 103.14,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.17365,
    "h": 138.9
  },
  "luminance": 0.23317
}

Semantic roles & 50–950 ramp

primary
#40971E
secondary
#A151C0
accent
#3EEABA
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40971E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#40971E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva