#405E4E#405E4E

#405E4E is a mid, muted green. Relative luminance 0.096; OKLCH L 45.3% C 0.044 H 160.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#405E4E
RGBrgb(64, 94, 78)
HSLhsl(148, 19%, 31%)
HSVhsv(148, 32%, 37%)
CMYKcmyk(31.9%, 0%, 17%, 63.1%)
CIE-LABlab(37.20, -14.92, 5.67)
CIE-LCHlch(37.20, 15.96, 159.20°)
OKLaboklab(45.32% -0.0417 0.0146)
OKLCHoklch(45.32% 0.044 160.7)
XYZxyz(7.4917, 9.6451, 8.6732)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E4E #5E4050
analogous
#415E40 #405E4E #405E5D
triadic
#405E4E #4E405E #5E4E40
tetradic
#405E4E #40415E #5E4050 #5E5D40
square
#405E4E #40415E #5E4050 #5E5D40
split-complementary
#405E4E #5D405E #5E4041
monochromatic
#0E1512 #273A30 #405E4E #59826C #76A28B

Accessibility & contrast

On white

7.17
#405E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#405E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E4E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E4E#FFFFFF#000000##FFFFFF
##405E4E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5A4D
Deuteranopia (green-blind)
#58564F
Tritanopia (blue-blind)
#3A5E59
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405e4e;
/* rgb */ color: rgb(64, 94, 78);
/* oklch */ color: oklch(45.3% 0.044 160.7);
Tailwind
colors: {
  custom: {
    50: '#768b7f',
    500: '#405e4e',
    950: '#000000',
  },
}
SCSS
$custom: #405e4e;
$custom-light: #768b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#405e4e",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 78
  },
  "hsl": {
    "h": 148,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.04419,
    "h": 160.7
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#405E4E
secondary
#8D6C7E
accent
#6C97BC
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C0A
muted
#7B7D7C

Preview Lab

Preview with #405E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#405E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva