#405642#405642

#405642 is a dark, muted green. Relative luminance 0.081; OKLCH L 42.9% C 0.042 H 147.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#405642
RGBrgb(64, 86, 66)
HSLhsl(125, 15%, 29%)
HSVhsv(125, 26%, 34%)
CMYKcmyk(25.6%, 0%, 23.3%, 66.3%)
CIE-LABlab(34.27, -13.00, 8.97)
CIE-LCHlch(34.27, 15.79, 145.40°)
OKLaboklab(42.87% -0.0356 0.023)
OKLCHoklch(42.87% 0.042 147.2)
XYZxyz(6.4252, 8.1387, 6.3856)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405642 #564054
analogous
#495640 #405642 #40564D
triadic
#405642 #424056 #564240
tetradic
#405642 #404956 #564054 #564D40
square
#405642 #404956 #564054 #564D40
split-complementary
#405642 #4D4056 #564049
monochromatic
#0D120D #263327 #405642 #5A795D #779A7A

Accessibility & contrast

On white

7.99
#405642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405642
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405642#FFFFFF#000000##FFFFFF
##4056421.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405642;
/* rgb */ color: rgb(64, 86, 66);
/* oklch */ color: oklch(42.9% 0.042 147.2);
Tailwind
colors: {
  custom: {
    50: '#758576',
    500: '#405642',
    950: '#000000',
  },
}
SCSS
$custom: #405642;
$custom-light: #758576;
$custom-dark: #000000;
JSON
{
  "hex": "#405642",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 125.455,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.04239,
    "h": 147.2
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#405642
secondary
#856C83
accent
#70B1B7
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #405642

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

Preview Lab → · Contrast checker → · Palette generator →

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