#40513D#40513D

#40513D is a dark, muted green. Relative luminance 0.073; OKLCH L 41.4% C 0.039 H 140.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#40513D
RGBrgb(64, 81, 61)
HSLhsl(111, 14%, 28%)
HSVhsv(111, 25%, 32%)
CMYKcmyk(21%, 0%, 24.7%, 68.2%)
CIE-LABlab(32.51, -11.12, 9.63)
CIE-LCHlch(32.51, 14.71, 139.08°)
OKLaboklab(41.42% -0.0302 0.0246)
OKLCHoklch(41.42% 0.039 140.9)
XYZxyz(5.8989, 7.3116, 5.5145)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40513D #4E3D51
analogous
#4A513D #40513D #3D5144
triadic
#40513D #3D4051 #513D40
tetradic
#40513D #3D4A51 #4E3D51 #51443D
square
#40513D #3D4A51 #4E3D51 #51443D
split-complementary
#40513D #443D51 #513D4A
monochromatic
#0E110D #242E23 #40513D #5C7457 #789573

Accessibility & contrast

On white

8.53
#40513D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#40513D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40513D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40513D#FFFFFF#000000##FFFFFF
##40513D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3C
Deuteranopia (green-blind)
#4F4C3E
Tritanopia (blue-blind)
#3F504B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40513d;
/* rgb */ color: rgb(64, 81, 61);
/* oklch */ color: oklch(41.4% 0.039 140.9);
Tailwind
colors: {
  custom: {
    50: '#758272',
    500: '#40513d',
    950: '#000000',
  },
}
SCSS
$custom: #40513d;
$custom-light: #758272;
$custom-dark: #000000;
JSON
{
  "hex": "#40513d",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 61
  },
  "hsl": {
    "h": 111,
    "s": 14.085,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.039,
    "h": 140.9
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#40513D
secondary
#7D6980
accent
#71B7AC
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #40513D

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

Preview Lab → · Contrast checker → · Palette generator →

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