#40972F#40972F

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

Color values

HEX#40972F
RGBrgb(64, 151, 47)
HSLhsl(110, 53%, 39%)
HSVhsv(110, 69%, 59%)
CMYKcmyk(57.6%, 0%, 68.9%, 40.8%)
CIE-LABlab(55.51, -46.12, 45.17)
CIE-LCHlch(55.51, 64.55, 135.59°)
OKLaboklab(60.11% -0.1262 0.1036)
OKLCHoklch(60.11% 0.163 140.6)
XYZxyz(13.6934, 23.4273, 6.4891)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40972F #862F97
analogous
#74972F #40972F #2F9752
triadic
#40972F #2F4097 #972F40
tetradic
#40972F #2F7497 #862F97 #97522F
square
#40972F #2F7497 #862F97 #97522F
split-complementary
#40972F #522F97 #972F74
monochromatic
#183A12 #2C6820 #40972F #55C340 #7FD26E

Accessibility & contrast

On white

3.69
#40972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#40972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40972F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40972F#FFFFFF#000000##000000
##40972F1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40972f;
/* rgb */ color: rgb(64, 151, 47);
/* oklch */ color: oklch(60.1% 0.163 140.6);
Tailwind
colors: {
  custom: {
    50: '#7eb66d',
    500: '#40972f',
    950: '#000000',
  },
}
SCSS
$custom: #40972f;
$custom-light: #7eb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#40972f",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 110.192,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.16333,
    "h": 140.6
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#40972F
secondary
#AC68B9
accent
#4CDCC4
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40972F

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

Preview Lab → · Contrast checker → · Palette generator →

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