#40971D#40971D

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

Color values

HEX#40971D
RGBrgb(64, 151, 29)
HSLhsl(103, 68%, 35%)
HSVhsv(103, 81%, 59%)
CMYKcmyk(57.6%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.39, -47.47, 51.68)
CIE-LCHlch(55.39, 70.18, 132.57°)
OKLaboklab(59.98% -0.131 0.1147)
OKLCHoklch(59.98% 0.174 138.8)
XYZxyz(13.4022, 23.3108, 4.9553)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40971D #741D97
analogous
#7D971D #40971D #1D9737
triadic
#40971D #1D4097 #971D40
tetradic
#40971D #1D7D97 #741D97 #97371D
square
#40971D #1D7D97 #741D97 #97371D
split-complementary
#40971D #371D97 #971D7D
monochromatic
#143009 #2A6413 #40971D #56CA27 #79DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40971D#FFFFFF#000000##000000
##40971D1.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)
#91822B
Tritanopia (blue-blind)
#379281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40971d;
/* rgb */ color: rgb(64, 151, 29);
/* oklch */ color: oklch(60.0% 0.174 138.8);
Tailwind
colors: {
  custom: {
    50: '#7fb664',
    500: '#40971d',
    950: '#000000',
  },
}
SCSS
$custom: #40971d;
$custom-light: #7fb664;
$custom-dark: #000000;
JSON
{
  "hex": "#40971d",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 102.787,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.17414,
    "h": 138.8
  },
  "luminance": 0.23312
}

Semantic roles & 50–950 ramp

primary
#40971D
secondary
#A04FC0
accent
#3DEBB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40971D

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

Preview Lab → · Contrast checker → · Palette generator →

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