#40972A#40972A

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

Color values

HEX#40972A
RGBrgb(64, 151, 42)
HSLhsl(108, 56%, 38%)
HSVhsv(108, 72%, 59%)
CMYKcmyk(57.6%, 0%, 72.2%, 40.8%)
CIE-LABlab(55.47, -46.56, 47.17)
CIE-LCHlch(55.47, 66.28, 134.63°)
OKLaboklab(60.07% -0.1278 0.1072)
OKLCHoklch(60.07% 0.167 140)
XYZxyz(13.5983, 23.3892, 5.9880)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40972A #812A97
analogous
#76972A #40972A #2A974A
triadic
#40972A #2A4097 #972A40
tetradic
#40972A #2A7697 #812A97 #974A2A
square
#40972A #2A7697 #812A97 #974A2A
split-complementary
#40972A #4A2A97 #972A76
monochromatic
#17370F #2C671D #40972A #54C737 #7DD567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40972A#FFFFFF#000000##000000
##40972A1.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)
#9B8918
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#369281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40972a;
/* rgb */ color: rgb(64, 151, 42);
/* oklch */ color: oklch(60.1% 0.167 140.0);
Tailwind
colors: {
  custom: {
    50: '#7fb66a',
    500: '#40972a',
    950: '#000000',
  },
}
SCSS
$custom: #40972a;
$custom-light: #7fb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#40972a",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 107.89,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60068,
    "c": 0.16676,
    "h": 140
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#40972A
secondary
#A962BB
accent
#48E0C1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40972A

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

Preview Lab → · Contrast checker → · Palette generator →

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