#40732C#40732C

#40732C is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.3% C 0.117 H 137.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#40732C
RGBrgb(64, 115, 44)
HSLhsl(103, 45%, 31%)
HSVhsv(103, 62%, 45%)
CMYKcmyk(44.3%, 0%, 61.7%, 54.9%)
CIE-LABlab(43.56, -31.37, 33.35)
CIE-LCHlch(43.56, 45.79, 133.25°)
OKLaboklab(50.28% -0.0864 0.0782)
OKLCHoklch(50.28% 0.117 137.9)
XYZxyz(8.6994, 13.5328, 4.5361)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40732C #5F2C73
analogous
#63732C #40732C #2C733B
triadic
#40732C #2C4073 #732C40
tetradic
#40732C #2C6373 #5F2C73 #733B2C
square
#40732C #2C6373 #5F2C73 #733B2C
split-complementary
#40732C #3B2C73 #732C63
monochromatic
#0F1A0A #27471B #40732C #599F3D #76C05A

Accessibility & contrast

On white

5.67
#40732C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40732C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40732C#FFFFFF#000000##FFFFFF
##40732C1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A24
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#3D6F64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #40732c;
/* rgb */ color: rgb(64, 115, 44);
/* oklch */ color: oklch(50.3% 0.117 137.9);
Tailwind
colors: {
  custom: {
    50: '#799c68',
    500: '#40732c',
    950: '#000000',
  },
}
SCSS
$custom: #40732c;
$custom-light: #799c68;
$custom-dark: #000000;
JSON
{
  "hex": "#40732c",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 44
  },
  "hsl": {
    "h": 103.099,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.11655,
    "h": 137.9
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#40732C
secondary
#8F56A5
accent
#53D4B0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40732C

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

Preview Lab → · Contrast checker → · Palette generator →

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