#40972D#40972D

#40972D is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.1% C 0.165 H 140.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#40972D
RGBrgb(64, 151, 45)
HSLhsl(109, 54%, 38%)
HSVhsv(109, 70%, 59%)
CMYKcmyk(57.6%, 0%, 70.2%, 40.8%)
CIE-LABlab(55.49, -46.30, 45.99)
CIE-LCHlch(55.49, 65.25, 135.19°)
OKLaboklab(60.09% -0.1269 0.1051)
OKLCHoklch(60.09% 0.165 140.4)
XYZxyz(13.6540, 23.4115, 6.2815)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40972D #842D97
analogous
#75972D #40972D #2D974F
triadic
#40972D #2D4097 #972D40
tetradic
#40972D #2D7597 #842D97 #974F2D
square
#40972D #2D7597 #842D97 #974F2D
split-complementary
#40972D #4F2D97 #972D75
monochromatic
#183911 #2C681F #40972D #55C53C #7ED36B

Accessibility & contrast

On white

3.70
#40972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#40972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40972D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40972D#FFFFFF#000000##000000
##40972D1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891D
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#359282
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40972d;
/* rgb */ color: rgb(64, 151, 45);
/* oklch */ color: oklch(60.1% 0.165 140.4);
Tailwind
colors: {
  custom: {
    50: '#7eb66c',
    500: '#40972d',
    950: '#000000',
  },
}
SCSS
$custom: #40972d;
$custom-light: #7eb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#40972d",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 109.245,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.16474,
    "h": 140.4
  },
  "luminance": 0.23413
}

Semantic roles & 50–950 ramp

primary
#40972D
secondary
#AB66BA
accent
#4ADDC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40972D

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

Preview Lab → · Contrast checker → · Palette generator →

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