#40503C#40503C

#40503C is a dark, muted green. Relative luminance 0.072; OKLCH L 41.1% C 0.038 H 139.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#40503C
RGBrgb(64, 80, 60)
HSLhsl(108, 14%, 27%)
HSVhsv(108, 25%, 31%)
CMYKcmyk(20%, 0%, 25%, 68.6%)
CIE-LABlab(32.15, -10.73, 9.77)
CIE-LCHlch(32.15, 14.51, 137.67°)
OKLaboklab(41.13% -0.0291 0.025)
OKLCHoklch(41.13% 0.038 139.4)
XYZxyz(5.7984, 7.1534, 5.3493)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40503C #4C3C50
analogous
#4A503C #40503C #3C5042
triadic
#40503C #3C4050 #503C40
tetradic
#40503C #3C4A50 #4C3C50 #50423C
square
#40503C #3C4A50 #4C3C50 #50423C
split-complementary
#40503C #423C50 #503C4A
monochromatic
#0E110D #242D22 #40503C #5C7356 #799572

Accessibility & contrast

On white

8.64
#40503C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40503C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40503C#FFFFFF#000000##FFFFFF
##40503C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40503c;
/* rgb */ color: rgb(64, 80, 60);
/* oklch */ color: oklch(41.1% 0.038 139.4);
Tailwind
colors: {
  custom: {
    50: '#758171',
    500: '#40503c',
    950: '#000000',
  },
}
SCSS
$custom: #40503c;
$custom-light: #758171;
$custom-dark: #000000;
JSON
{
  "hex": "#40503c",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 60
  },
  "hsl": {
    "h": 108,
    "s": 14.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41128,
    "c": 0.03837,
    "h": 139.4
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#40503C
secondary
#7B687F
accent
#71B7A9
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #40503C

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

Preview Lab → · Contrast checker → · Palette generator →

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