#405D4E#405D4E

#405D4E is a mid, muted green. Relative luminance 0.095; OKLCH L 45.1% C 0.042 H 161.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#405D4E
RGBrgb(64, 93, 78)
HSLhsl(149, 18%, 31%)
HSVhsv(149, 31%, 36%)
CMYKcmyk(31.2%, 0%, 16.1%, 63.5%)
CIE-LABlab(36.87, -14.36, 5.20)
CIE-LCHlch(36.87, 15.27, 160.09°)
OKLaboklab(45.06% -0.0402 0.0134)
OKLCHoklch(45.06% 0.042 161.5)
XYZxyz(7.4034, 9.4684, 8.6437)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D4E #5D404F
analogous
#405D40 #405D4E #405D5C
triadic
#405D4E #4E405D #5D4E40
tetradic
#405D4E #40405D #5D404F #5D5C40
square
#405D4E #40405D #5D404F #5D5C40
split-complementary
#405D4E #5C405D #5D4040
monochromatic
#0E1411 #273930 #405D4E #59816C #76A18B

Accessibility & contrast

On white

7.26
#405D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#405D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405D4E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D4E#FFFFFF#000000##FFFFFF
##405D4E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594D
Deuteranopia (green-blind)
#57554F
Tritanopia (blue-blind)
#3A5D59
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405d4e;
/* rgb */ color: rgb(64, 93, 78);
/* oklch */ color: oklch(45.1% 0.042 161.5);
Tailwind
colors: {
  custom: {
    50: '#758b7f',
    500: '#405d4e',
    950: '#000000',
  },
}
SCSS
$custom: #405d4e;
$custom-light: #758b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#405d4e",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 78
  },
  "hsl": {
    "h": 148.966,
    "s": 18.471,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.0424,
    "h": 161.5
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#405D4E
secondary
#8C6C7D
accent
#6D95BB
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C0A
muted
#7B7D7C

Preview Lab

Preview with #405D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#405D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva