#40752D#40752D

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

Color values

HEX#40752D
RGBrgb(64, 117, 45)
HSLhsl(104, 44%, 32%)
HSVhsv(104, 62%, 46%)
CMYKcmyk(45.3%, 0%, 61.5%, 54.1%)
CIE-LABlab(44.24, -32.17, 33.63)
CIE-LCHlch(44.24, 46.54, 133.73°)
OKLaboklab(50.84% -0.0885 0.0789)
OKLCHoklch(50.84% 0.119 138.3)
XYZxyz(8.9490, 14.0015, 4.7131)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40752D #622D75
analogous
#64752D #40752D #2D753E
triadic
#40752D #2D4075 #752D40
tetradic
#40752D #2D6475 #622D75 #753E2D
square
#40752D #2D6475 #622D75 #753E2D
split-complementary
#40752D #3E2D75 #752D64
monochromatic
#101D0B #28491C #40752D #58A13E #77C05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40752D#FFFFFF#000000##FFFFFF
##40752D1.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)
#796B25
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#3D7165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40752d;
/* rgb */ color: rgb(64, 117, 45);
/* oklch */ color: oklch(50.8% 0.119 138.3);
Tailwind
colors: {
  custom: {
    50: '#799d69',
    500: '#40752d',
    950: '#000000',
  },
}
SCSS
$custom: #40752d;
$custom-light: #799d69;
$custom-dark: #000000;
JSON
{
  "hex": "#40752d",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 104.167,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.11859,
    "h": 138.3
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#40752D
secondary
#9257A6
accent
#54D4B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40752D

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

Preview Lab → · Contrast checker → · Palette generator →

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