#40752B#40752B

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

Color values

HEX#40752B
RGBrgb(64, 117, 43)
HSLhsl(103, 46%, 31%)
HSVhsv(103, 63%, 46%)
CMYKcmyk(45.3%, 0%, 63.2%, 54.1%)
CIE-LABlab(44.21, -32.39, 34.59)
CIE-LCHlch(44.21, 47.39, 133.12°)
OKLaboklab(50.82% -0.0893 0.0808)
OKLCHoklch(50.82% 0.12 137.9)
XYZxyz(8.9114, 13.9864, 4.5151)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40752B #602B75
analogous
#65752B #40752B #2B753B
triadic
#40752B #2B4075 #752B40
tetradic
#40752B #2B6575 #602B75 #753B2B
square
#40752B #2B6575 #602B75 #753B2B
split-complementary
#40752B #3B2B75 #752B65
monochromatic
#0F1B0A #28481B #40752B #58A23B #76C259

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40752B#FFFFFF#000000##FFFFFF
##40752B1.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)
#796B23
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#3D7165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #40752b;
/* rgb */ color: rgb(64, 117, 43);
/* oklch */ color: oklch(50.8% 0.120 137.9);
Tailwind
colors: {
  custom: {
    50: '#799d67',
    500: '#40752b',
    950: '#000000',
  },
}
SCSS
$custom: #40752b;
$custom-light: #799d67;
$custom-dark: #000000;
JSON
{
  "hex": "#40752b",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 102.973,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.12039,
    "h": 137.9
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#40752B
secondary
#9055A7
accent
#52D6B0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40752B

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

Preview Lab → · Contrast checker → · Palette generator →

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