#40503A#40503A

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

Color values

HEX#40503A
RGBrgb(64, 80, 58)
HSLhsl(104, 16%, 27%)
HSVhsv(104, 28%, 31%)
CMYKcmyk(20%, 0%, 27.5%, 68.6%)
CIE-LABlab(32.11, -11.12, 10.96)
CIE-LCHlch(32.11, 15.61, 135.40°)
OKLaboklab(41.08% -0.0302 0.0279)
OKLCHoklch(41.08% 0.041 137.3)
XYZxyz(5.7466, 7.1327, 5.0762)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40503A #4A3A50
analogous
#4B503A #40503A #3A503F
triadic
#40503A #3A4050 #503A40
tetradic
#40503A #3A4B50 #4A3A50 #503F3A
square
#40503A #3A4B50 #4A3A50 #503F3A
split-complementary
#40503A #3F3A50 #503A4B
monochromatic
#0E120D #242D20 #40503A #5C7354 #79966E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40503A#FFFFFF#000000##FFFFFF
##40503A1.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)
#524C39
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#404E4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40503a;
/* rgb */ color: rgb(64, 80, 58);
/* oklch */ color: oklch(41.1% 0.041 137.3);
Tailwind
colors: {
  custom: {
    50: '#758170',
    500: '#40503a',
    950: '#000000',
  },
}
SCSS
$custom: #40503a;
$custom-light: #758170;
$custom-dark: #000000;
JSON
{
  "hex": "#40503a",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 58
  },
  "hsl": {
    "h": 103.636,
    "s": 15.942,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.04106,
    "h": 137.3
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#40503A
secondary
#796680
accent
#6FB9A5
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #40503A

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

Preview Lab → · Contrast checker → · Palette generator →

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