#405638#405638

#405638 is a dark, muted green. Relative luminance 0.080; OKLCH L 42.6% C 0.055 H 137.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#405638
RGBrgb(64, 86, 56)
HSLhsl(104, 21%, 28%)
HSVhsv(104, 35%, 34%)
CMYKcmyk(25.6%, 0%, 34.9%, 66.3%)
CIE-LABlab(34.05, -14.93, 14.83)
CIE-LCHlch(34.05, 21.04, 135.19°)
OKLaboklab(42.62% -0.0407 0.0372)
OKLCHoklch(42.62% 0.055 137.6)
XYZxyz(6.1558, 8.0309, 4.9664)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405638 #4E3856
analogous
#4F5638 #405638 #38563F
triadic
#405638 #384056 #563840
tetradic
#405638 #384F56 #4E3856 #563F38
square
#405638 #384F56 #4E3856 #563F38
split-complementary
#405638 #3F3856 #56384F
monochromatic
#0E130C #243120 #405638 #5C7B50 #789E6A

Accessibility & contrast

On white

8.06
#405638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#405638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405638
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405638#FFFFFF#000000##FFFFFF
##4056381.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585136
Deuteranopia (green-blind)
#554F3A
Tritanopia (blue-blind)
#3F544E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405638;
/* rgb */ color: rgb(64, 86, 56);
/* oklch */ color: oklch(42.6% 0.055 137.6);
Tailwind
colors: {
  custom: {
    50: '#75856f',
    500: '#405638',
    950: '#000000',
  },
}
SCSS
$custom: #405638;
$custom-light: #75856f;
$custom-dark: #000000;
JSON
{
  "hex": "#405638",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 56
  },
  "hsl": {
    "h": 104,
    "s": 21.127,
    "l": 27.843
  },
  "oklch": {
    "l": 0.42618,
    "c": 0.0551,
    "h": 137.6
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#405638
secondary
#7D6486
accent
#6ABEA7
background
#F7F8F6
surface
#EDEFEC
border
#C8CAC7
text
#080B07
muted
#7B7C7A

Preview Lab

Preview with #405638

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

Preview Lab → · Contrast checker → · Palette generator →

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