#405643#405643

#405643 is a dark, muted green. Relative luminance 0.082; OKLCH L 42.9% C 0.041 H 148.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#405643
RGBrgb(64, 86, 67)
HSLhsl(128, 15%, 29%)
HSVhsv(128, 26%, 34%)
CMYKcmyk(25.6%, 0%, 22.1%, 66.3%)
CIE-LABlab(34.29, -12.79, 8.38)
CIE-LCHlch(34.29, 15.29, 146.77°)
OKLaboklab(42.9% -0.0351 0.0215)
OKLCHoklch(42.9% 0.041 148.5)
XYZxyz(6.4550, 8.1506, 6.5422)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405643 #564053
analogous
#485640 #405643 #40564E
triadic
#405643 #434056 #564340
tetradic
#405643 #404856 #564053 #564E40
square
#405643 #404856 #564053 #564E40
split-complementary
#405643 #4E4056 #564048
monochromatic
#0D120E #263328 #405643 #5A795E #779A7C

Accessibility & contrast

On white

7.98
#405643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405643
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405643#FFFFFF#000000##FFFFFF
##4056431.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575242
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#3D5551
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405643;
/* rgb */ color: rgb(64, 86, 67);
/* oklch */ color: oklch(42.9% 0.041 148.5);
Tailwind
colors: {
  custom: {
    50: '#758577',
    500: '#405643',
    950: '#000000',
  },
}
SCSS
$custom: #405643;
$custom-light: #758577;
$custom-dark: #000000;
JSON
{
  "hex": "#405643",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 67
  },
  "hsl": {
    "h": 128.182,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.04118,
    "h": 148.5
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#405643
secondary
#856C82
accent
#70AEB7
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #405643

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

Preview Lab → · Contrast checker → · Palette generator →

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