#406D4E#406D4E

#406D4E is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.3% C 0.071 H 153.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#406D4E
RGBrgb(64, 109, 78)
HSLhsl(139, 26%, 34%)
HSVhsv(139, 41%, 43%)
CMYKcmyk(41.3%, 0%, 28.4%, 57.3%)
CIE-LABlab(42.12, -22.97, 12.56)
CIE-LCHlch(42.12, 26.18, 151.33°)
OKLaboklab(49.29% -0.063 0.032)
OKLCHoklch(49.29% 0.071 153.1)
XYZxyz(8.9576, 12.5768, 9.1618)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D4E #6D405F
analogous
#496D40 #406D4E #406D65
triadic
#406D4E #4E406D #6D4E40
tetradic
#406D4E #40496D #6D405F #6D6540
square
#406D4E #40496D #6D405F #6D6540
split-complementary
#406D4E #65406D #6D4049
monochromatic
#132017 #294632 #406D4E #57946A #78B089

Accessibility & contrast

On white

5.97
#406D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#406D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D4E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D4E#FFFFFF#000000##FFFFFF
##406D4E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D664C
Deuteranopia (green-blind)
#666150
Tritanopia (blue-blind)
#386C65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406d4e;
/* rgb */ color: rgb(64, 109, 78);
/* oklch */ color: oklch(49.3% 0.071 153.1);
Tailwind
colors: {
  custom: {
    50: '#77977f',
    500: '#406d4e',
    950: '#000000',
  },
}
SCSS
$custom: #406d4e;
$custom-light: #77977f;
$custom-dark: #000000;
JSON
{
  "hex": "#406d4e",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 78
  },
  "hsl": {
    "h": 138.667,
    "s": 26.012,
    "l": 33.922
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.07061,
    "h": 153.1
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#406D4E
secondary
#9B6E8D
accent
#65A5C2
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090D0A
muted
#7B7E7C

Preview Lab

Preview with #406D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#406D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva