#405442#405442

#405442 is a dark, muted green. Relative luminance 0.078; OKLCH L 42.3% C 0.039 H 147.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#405442
RGBrgb(64, 84, 66)
HSLhsl(126, 14%, 29%)
HSVhsv(126, 24%, 33%)
CMYKcmyk(23.8%, 0%, 21.4%, 67.1%)
CIE-LABlab(33.61, -11.84, 8.05)
CIE-LCHlch(33.61, 14.32, 145.80°)
OKLaboklab(42.34% -0.0325 0.0207)
OKLCHoklch(42.34% 0.039 147.5)
XYZxyz(6.2678, 7.8238, 6.3331)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405442 #544052
analogous
#485440 #405442 #40544C
triadic
#405442 #424054 #544240
tetradic
#405442 #404854 #544052 #544C40
square
#405442 #404854 #544052 #544C40
split-complementary
#405442 #4C4054 #544048
monochromatic
#0D110E #263127 #405442 #5A775D #77977A

Accessibility & contrast

On white

8.19
#405442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#405442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405442
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405442#FFFFFF#000000##FFFFFF
##4054421.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555041
Deuteranopia (green-blind)
#514E43
Tritanopia (blue-blind)
#3E534F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #405442;
/* rgb */ color: rgb(64, 84, 66);
/* oklch */ color: oklch(42.3% 0.039 147.5);
Tailwind
colors: {
  custom: {
    50: '#758476',
    500: '#405442',
    950: '#000000',
  },
}
SCSS
$custom: #405442;
$custom-light: #758476;
$custom-dark: #000000;
JSON
{
  "hex": "#405442",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 66
  },
  "hsl": {
    "h": 126,
    "s": 13.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.03851,
    "h": 147.5
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#405442
secondary
#836D81
accent
#71AFB6
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #405442

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

Preview Lab → · Contrast checker → · Palette generator →

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