#406D56#406D56

#406D56 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.5% C 0.062 H 160.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#406D56
RGBrgb(64, 109, 86)
HSLhsl(149, 26%, 34%)
HSVhsv(149, 41%, 43%)
CMYKcmyk(41.3%, 0%, 21.1%, 57.3%)
CIE-LABlab(42.31, -21.23, 8.05)
CIE-LCHlch(42.31, 22.70, 159.24°)
OKLaboklab(49.5% -0.0589 0.0207)
OKLCHoklch(49.5% 0.062 160.7)
XYZxyz(9.2620, 12.6986, 10.7653)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D56 #6D4057
analogous
#416D40 #406D56 #406D6D
triadic
#406D56 #56406D #6D5640
tetradic
#406D56 #40416D #6D4057 #6D6D40
square
#406D56 #40416D #6D4057 #6D6D40
split-complementary
#406D56 #6D406D #6D4041
monochromatic
#132019 #294638 #406D56 #579474 #78B093

Accessibility & contrast

On white

5.93
#406D56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#406D56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D56
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D56#FFFFFF#000000##FFFFFF
##406D561.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6755
Deuteranopia (green-blind)
#656257
Tritanopia (blue-blind)
#356D67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406d56;
/* rgb */ color: rgb(64, 109, 86);
/* oklch */ color: oklch(49.5% 0.062 160.7);
Tailwind
colors: {
  custom: {
    50: '#779785',
    500: '#406d56',
    950: '#000000',
  },
}
SCSS
$custom: #406d56;
$custom-light: #779785;
$custom-dark: #000000;
JSON
{
  "hex": "#406d56",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 86
  },
  "hsl": {
    "h": 149.333,
    "s": 26.012,
    "l": 33.922
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.06247,
    "h": 160.7
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#406D56
secondary
#9B6E85
accent
#6595C2
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090D0B
muted
#7B7E7C

Preview Lab

Preview with #406D56

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

Preview Lab → · Contrast checker → · Palette generator →

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