#40513B#40513B

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

Color values

HEX#40513B
RGBrgb(64, 81, 59)
HSLhsl(106, 16%, 27%)
HSVhsv(106, 27%, 32%)
CMYKcmyk(21%, 0%, 27.2%, 68.2%)
CIE-LABlab(32.46, -11.51, 10.82)
CIE-LCHlch(32.46, 15.80, 136.76°)
OKLaboklab(41.37% -0.0313 0.0275)
OKLCHoklch(41.37% 0.042 138.6)
XYZxyz(5.8460, 7.2905, 5.2360)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40513B #4C3B51
analogous
#4B513B #40513B #3B5141
triadic
#40513B #3B4051 #513B40
tetradic
#40513B #3B4B51 #4C3B51 #51413B
square
#40513B #3B4B51 #4C3B51 #51413B
split-complementary
#40513B #413B51 #513B4B
monochromatic
#0E120D #242E21 #40513B #5C7455 #799770

Accessibility & contrast

On white

8.54
#40513B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40513B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40513B#FFFFFF#000000##FFFFFF
##40513B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D3A
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#3F4F4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40513b;
/* rgb */ color: rgb(64, 81, 59);
/* oklch */ color: oklch(41.4% 0.042 138.6);
Tailwind
colors: {
  custom: {
    50: '#758271',
    500: '#40513b',
    950: '#000000',
  },
}
SCSS
$custom: #40513b;
$custom-light: #758271;
$custom-dark: #000000;
JSON
{
  "hex": "#40513b",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 59
  },
  "hsl": {
    "h": 106.364,
    "s": 15.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.04166,
    "h": 138.6
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#40513B
secondary
#7B6781
accent
#6FB8A8
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #40513B

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

Preview Lab → · Contrast checker → · Palette generator →

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