#40503D#40503D

#40503D is a dark, muted green. Relative luminance 0.072; OKLCH L 41.2% C 0.037 H 140.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#40503D
RGBrgb(64, 80, 61)
HSLhsl(111, 13%, 28%)
HSVhsv(111, 24%, 31%)
CMYKcmyk(20%, 0%, 23.7%, 68.6%)
CIE-LABlab(32.18, -10.53, 9.18)
CIE-LCHlch(32.18, 13.97, 138.92°)
OKLaboklab(41.16% -0.0286 0.0235)
OKLCHoklch(41.16% 0.037 140.6)
XYZxyz(5.8251, 7.1641, 5.4899)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40503D #4D3D50
analogous
#49503D #40503D #3D5043
triadic
#40503D #3D4050 #503D40
tetradic
#40503D #3D4950 #4D3D50 #50433D
square
#40503D #3D4950 #4D3D50 #50433D
split-complementary
#40503D #433D50 #503D49
monochromatic
#0E110D #242D23 #40503D #5C7357 #789473

Accessibility & contrast

On white

8.63
#40503D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#40503D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40503D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40503D#FFFFFF#000000##FFFFFF
##40503D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3C
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#3F4F4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40503d;
/* rgb */ color: rgb(64, 80, 61);
/* oklch */ color: oklch(41.2% 0.037 140.6);
Tailwind
colors: {
  custom: {
    50: '#758172',
    500: '#40503d',
    950: '#000000',
  },
}
SCSS
$custom: #40503d;
$custom-light: #758172;
$custom-dark: #000000;
JSON
{
  "hex": "#40503d",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 61
  },
  "hsl": {
    "h": 110.526,
    "s": 13.475,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.03704,
    "h": 140.6
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#40503D
secondary
#7C697F
accent
#71B6AB
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #40503D

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

Preview Lab → · Contrast checker → · Palette generator →

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