#40503F#40503F

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

Color values

HEX#40503F
RGBrgb(64, 80, 63)
HSLhsl(116, 12%, 28%)
HSVhsv(116, 21%, 31%)
CMYKcmyk(20%, 0%, 21.2%, 68.6%)
CIE-LABlab(32.23, -10.12, 7.99)
CIE-LCHlch(32.23, 12.90, 141.72°)
OKLaboklab(41.21% -0.0276 0.0205)
OKLCHoklch(41.21% 0.034 143.4)
XYZxyz(5.8800, 7.1861, 5.7789)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40503F #4F3F50
analogous
#48503F #40503F #3F5046
triadic
#40503F #3F4050 #503F40
tetradic
#40503F #3F4850 #4F3F50 #50463F
square
#40503F #3F4850 #4F3F50 #50463F
split-complementary
#40503F #463F50 #503F48
monochromatic
#0E110D #252E24 #40503F #5B725A #789376

Accessibility & contrast

On white

8.62
#40503F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#40503F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40503F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40503F#FFFFFF#000000##FFFFFF
##40503F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40503f;
/* rgb */ color: rgb(64, 80, 63);
/* oklch */ color: oklch(41.2% 0.034 143.4);
Tailwind
colors: {
  custom: {
    50: '#758174',
    500: '#40503f',
    950: '#000000',
  },
}
SCSS
$custom: #40503f;
$custom-light: #758174;
$custom-dark: #000000;
JSON
{
  "hex": "#40503f",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 63
  },
  "hsl": {
    "h": 116.471,
    "s": 11.888,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.03442,
    "h": 143.4
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#40503F
secondary
#7E6C7F
accent
#73B5B1
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #40503F

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

Preview Lab → · Contrast checker → · Palette generator →

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