#405641#405641

#405641 is a dark, muted green. Relative luminance 0.081; OKLCH L 42.8% C 0.044 H 145.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#405641
RGBrgb(64, 86, 65)
HSLhsl(123, 15%, 29%)
HSVhsv(123, 26%, 34%)
CMYKcmyk(25.6%, 0%, 24.4%, 66.3%)
CIE-LABlab(34.25, -13.20, 9.56)
CIE-LCHlch(34.25, 16.30, 144.11°)
OKLaboklab(42.84% -0.0361 0.0244)
OKLCHoklch(42.84% 0.044 145.9)
XYZxyz(6.3960, 8.1270, 6.2317)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405641 #564055
analogous
#4A5640 #405641 #40564C
triadic
#405641 #414056 #564140
tetradic
#405641 #404A56 #564055 #564C40
square
#405641 #404A56 #564055 #564C40
split-complementary
#405641 #4C4056 #56404A
monochromatic
#0D120D #263326 #405641 #5A795C #779A78

Accessibility & contrast

On white

8.00
#405641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#405641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405641
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405641#FFFFFF#000000##FFFFFF
##4056411.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575240
Deuteranopia (green-blind)
#535042
Tritanopia (blue-blind)
#3E5550
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405641;
/* rgb */ color: rgb(64, 86, 65);
/* oklch */ color: oklch(42.8% 0.044 145.9);
Tailwind
colors: {
  custom: {
    50: '#758575',
    500: '#405641',
    950: '#000000',
  },
}
SCSS
$custom: #405641;
$custom-light: #758575;
$custom-dark: #000000;
JSON
{
  "hex": "#405641",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 65
  },
  "hsl": {
    "h": 122.727,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.04362,
    "h": 145.9
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#405641
secondary
#856C84
accent
#70B4B7
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #405641

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

Preview Lab → · Contrast checker → · Palette generator →

#405641 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva