#40732F#40732F

#40732F is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.3% C 0.114 H 138.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#40732F
RGBrgb(64, 115, 47)
HSLhsl(105, 42%, 32%)
HSVhsv(105, 59%, 45%)
CMYKcmyk(44.3%, 0%, 59.1%, 54.9%)
CIE-LABlab(43.59, -31.02, 31.87)
CIE-LCHlch(43.59, 44.48, 134.22°)
OKLaboklab(50.32% -0.0853 0.0753)
OKLCHoklch(50.32% 0.114 138.5)
XYZxyz(8.7579, 13.5562, 4.8439)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40732F #622F73
analogous
#62732F #40732F #2F7340
triadic
#40732F #2F4073 #732F40
tetradic
#40732F #2F6273 #622F73 #73402F
square
#40732F #2F6273 #622F73 #73402F
split-complementary
#40732F #402F73 #732F62
monochromatic
#101C0B #28481D #40732F #589E41 #77BE5F

Accessibility & contrast

On white

5.66
#40732F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#40732F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40732F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40732F#FFFFFF#000000##FFFFFF
##40732F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A28
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#3D6F64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #40732f;
/* rgb */ color: rgb(64, 115, 47);
/* oklch */ color: oklch(50.3% 0.114 138.5);
Tailwind
colors: {
  custom: {
    50: '#799c6a',
    500: '#40732f',
    950: '#000000',
  },
}
SCSS
$custom: #40732f;
$custom-light: #799c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40732f",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 105,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.11375,
    "h": 138.5
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#40732F
secondary
#925AA4
accent
#56D2B3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40732F

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

Preview Lab → · Contrast checker → · Palette generator →

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