#40752C#40752C

#40752C is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.8% C 0.119 H 138.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#40752C
RGBrgb(64, 117, 44)
HSLhsl(104, 45%, 32%)
HSVhsv(104, 62%, 46%)
CMYKcmyk(45.3%, 0%, 62.4%, 54.1%)
CIE-LABlab(44.22, -32.28, 34.11)
CIE-LCHlch(44.22, 46.97, 133.42°)
OKLaboklab(50.83% -0.0889 0.0798)
OKLCHoklch(50.83% 0.119 138.1)
XYZxyz(8.9300, 13.9939, 4.6129)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40752C #612C75
analogous
#65752C #40752C #2C753D
triadic
#40752C #2C4075 #752C40
tetradic
#40752C #2C6575 #612C75 #753D2C
square
#40752C #2C6575 #612C75 #753D2C
split-complementary
#40752C #3D2C75 #752C65
monochromatic
#0F1C0B #28491B #40752C #58A13D #76C15A

Accessibility & contrast

On white

5.53
#40752C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#40752C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40752C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40752C#FFFFFF#000000##FFFFFF
##40752C1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B24
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#3D7165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40752c;
/* rgb */ color: rgb(64, 117, 44);
/* oklch */ color: oklch(50.8% 0.119 138.1);
Tailwind
colors: {
  custom: {
    50: '#799d68',
    500: '#40752c',
    950: '#000000',
  },
}
SCSS
$custom: #40752c;
$custom-light: #799d68;
$custom-dark: #000000;
JSON
{
  "hex": "#40752c",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 103.562,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.11949,
    "h": 138.1
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#40752C
secondary
#9156A7
accent
#53D5B1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40752C

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

Preview Lab → · Contrast checker → · Palette generator →

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