#40503B#40503B

#40503B is a dark, muted green. Relative luminance 0.071; OKLCH L 41.1% C 0.040 H 138.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#40503B
RGBrgb(64, 80, 59)
HSLhsl(106, 15%, 27%)
HSVhsv(106, 26%, 31%)
CMYKcmyk(20%, 0%, 26.2%, 68.6%)
CIE-LABlab(32.13, -10.92, 10.37)
CIE-LCHlch(32.13, 15.06, 136.49°)
OKLaboklab(41.1% -0.0297 0.0264)
OKLCHoklch(41.1% 0.04 138.3)
XYZxyz(5.7723, 7.1430, 5.2114)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40503B #4B3B50
analogous
#4B503B #40503B #3B5041
triadic
#40503B #3B4050 #503B40
tetradic
#40503B #3B4B50 #4B3B50 #50413B
square
#40503B #3B4B50 #4B3B50 #50413B
split-complementary
#40503B #413B50 #503B4B
monochromatic
#0E120D #242D21 #40503B #5C7355 #799570

Accessibility & contrast

On white

8.65
#40503B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40503B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40503B#FFFFFF#000000##FFFFFF
##40503B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3A
Deuteranopia (green-blind)
#4F4B3C
Tritanopia (blue-blind)
#3F4E4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40503b;
/* rgb */ color: rgb(64, 80, 59);
/* oklch */ color: oklch(41.1% 0.040 138.3);
Tailwind
colors: {
  custom: {
    50: '#758171',
    500: '#40503b',
    950: '#000000',
  },
}
SCSS
$custom: #40503b;
$custom-light: #758171;
$custom-dark: #000000;
JSON
{
  "hex": "#40503b",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 59
  },
  "hsl": {
    "h": 105.714,
    "s": 15.108,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.03971,
    "h": 138.3
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#40503B
secondary
#7A6780
accent
#70B8A7
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #40503B

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

Preview Lab → · Contrast checker → · Palette generator →

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