#40752E#40752E

#40752E is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.9% C 0.118 H 138.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#40752E
RGBrgb(64, 117, 46)
HSLhsl(105, 44%, 32%)
HSVhsv(105, 61%, 46%)
CMYKcmyk(45.3%, 0%, 60.7%, 54.1%)
CIE-LABlab(44.25, -32.05, 33.14)
CIE-LCHlch(44.25, 46.11, 134.04°)
OKLaboklab(50.85% -0.0881 0.078)
OKLCHoklch(50.85% 0.118 138.5)
XYZxyz(8.9685, 14.0093, 4.8157)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40752E #632E75
analogous
#64752E #40752E #2E7540
triadic
#40752E #2E4075 #752E40
tetradic
#40752E #2E6475 #632E75 #75402E
square
#40752E #2E6475 #632E75 #75402E
split-complementary
#40752E #402E75 #752E64
monochromatic
#101D0B #28491D #40752E #58A13F #77C05E

Accessibility & contrast

On white

5.52
#40752E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40752E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40752E#FFFFFF#000000##FFFFFF
##40752E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B27
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#3C7166
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40752e;
/* rgb */ color: rgb(64, 117, 46);
/* oklch */ color: oklch(50.9% 0.118 138.5);
Tailwind
colors: {
  custom: {
    50: '#799d69',
    500: '#40752e',
    950: '#000000',
  },
}
SCSS
$custom: #40752e;
$custom-light: #799d69;
$custom-dark: #000000;
JSON
{
  "hex": "#40752e",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 46
  },
  "hsl": {
    "h": 104.789,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.11766,
    "h": 138.5
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#40752E
secondary
#9359A6
accent
#54D3B3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40752E

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

Preview Lab → · Contrast checker → · Palette generator →

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