#40972C#40972C

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

Color values

HEX#40972C
RGBrgb(64, 151, 44)
HSLhsl(109, 55%, 38%)
HSVhsv(109, 71%, 59%)
CMYKcmyk(57.6%, 0%, 70.9%, 40.8%)
CIE-LABlab(55.49, -46.39, 46.39)
CIE-LCHlch(55.49, 65.60, 135.00°)
OKLaboklab(60.09% -0.1272 0.1058)
OKLCHoklch(60.09% 0.165 140.2)
XYZxyz(13.6350, 23.4039, 6.1813)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40972C #832C97
analogous
#75972C #40972C #2C974D
triadic
#40972C #2C4097 #972C40
tetradic
#40972C #2C7597 #832C97 #974D2C
square
#40972C #2C7597 #832C97 #974D2C
split-complementary
#40972C #4D2C97 #972C75
monochromatic
#183810 #2C681E #40972C #54C63A #7ED46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40972C#FFFFFF#000000##000000
##40972C1.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)
#9B891C
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#359282
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40972c;
/* rgb */ color: rgb(64, 151, 44);
/* oklch */ color: oklch(60.1% 0.165 140.2);
Tailwind
colors: {
  custom: {
    50: '#7eb66b',
    500: '#40972c',
    950: '#000000',
  },
}
SCSS
$custom: #40972c;
$custom-light: #7eb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#40972c",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 108.785,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60085,
    "c": 0.16543,
    "h": 140.2
  },
  "luminance": 0.23405
}

Semantic roles & 50–950 ramp

primary
#40972C
secondary
#AA65BA
accent
#4ADEC2
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40972C

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

Preview Lab → · Contrast checker → · Palette generator →

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