#405A4A#405A4A

#405A4A is a dark, muted green. Relative luminance 0.089; OKLCH L 44.2% C 0.041 H 157.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#405A4A
RGBrgb(64, 90, 74)
HSLhsl(143, 17%, 30%)
HSVhsv(143, 29%, 35%)
CMYKcmyk(28.9%, 0%, 17.8%, 64.7%)
CIE-LABlab(35.78, -13.56, 6.13)
CIE-LCHlch(35.78, 14.88, 155.68°)
OKLaboklab(44.15% -0.0377 0.0158)
OKLCHoklch(44.15% 0.041 157.2)
XYZxyz(7.0062, 8.8964, 7.8253)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405A4A #5A4050
analogous
#435A40 #405A4A #405A57
triadic
#405A4A #4A405A #5A4A40
tetradic
#405A4A #40435A #5A4050 #5A5740
square
#405A4A #40435A #5A4050 #5A5740
split-complementary
#405A4A #57405A #5A4043
monochromatic
#0D120F #27362D #405A4A #597E67 #769E86

Accessibility & contrast

On white

7.56
#405A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#405A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405A4A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405A4A#FFFFFF#000000##FFFFFF
##405A4A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5649
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#3B5A55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405a4a;
/* rgb */ color: rgb(64, 90, 74);
/* oklch */ color: oklch(44.2% 0.041 157.2);
Tailwind
colors: {
  custom: {
    50: '#75887c',
    500: '#405a4a',
    950: '#000000',
  },
}
SCSS
$custom: #405a4a;
$custom-light: #75887c;
$custom-dark: #000000;
JSON
{
  "hex": "#405a4a",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 74
  },
  "hsl": {
    "h": 143.077,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.0409,
    "h": 157.2
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#405A4A
secondary
#896C7E
accent
#6E9DBA
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #405A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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