#40972B#40972B

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

Color values

HEX#40972B
RGBrgb(64, 151, 43)
HSLhsl(108, 56%, 38%)
HSVhsv(108, 72%, 59%)
CMYKcmyk(57.6%, 0%, 71.5%, 40.8%)
CIE-LABlab(55.48, -46.47, 46.78)
CIE-LCHlch(55.48, 65.94, 134.81°)
OKLaboklab(60.08% -0.1275 0.1065)
OKLCHoklch(60.08% 0.166 140.1)
XYZxyz(13.6164, 23.3965, 6.0835)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40972B #822B97
analogous
#76972B #40972B #2B974C
triadic
#40972B #2B4097 #972B40
tetradic
#40972B #2B7697 #822B97 #974C2B
square
#40972B #2B7697 #822B97 #974C2B
split-complementary
#40972B #4C2B97 #972B76
monochromatic
#183810 #2C671D #40972B #54C739 #7DD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40972B#FFFFFF#000000##000000
##40972B1.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)
#9B891A
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#369282
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40972b;
/* rgb */ color: rgb(64, 151, 43);
/* oklch */ color: oklch(60.1% 0.166 140.1);
Tailwind
colors: {
  custom: {
    50: '#7fb66b',
    500: '#40972b',
    950: '#000000',
  },
}
SCSS
$custom: #40972b;
$custom-light: #7fb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#40972b",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 108.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.1661,
    "h": 140.1
  },
  "luminance": 0.23398
}

Semantic roles & 50–950 ramp

primary
#40972B
secondary
#AA63BB
accent
#49DFC2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40972B

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

Preview Lab → · Contrast checker → · Palette generator →

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