#406B4E#406B4E

#406B4E is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.8% C 0.067 H 153.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#406B4E
RGBrgb(64, 107, 78)
HSLhsl(140, 25%, 34%)
HSVhsv(140, 40%, 42%)
CMYKcmyk(40.2%, 0%, 27.1%, 58%)
CIE-LABlab(41.46, -21.94, 11.66)
CIE-LCHlch(41.46, 24.84, 152.02°)
OKLaboklab(48.76% -0.0602 0.0297)
OKLCHoklch(48.76% 0.067 153.7)
XYZxyz(8.7467, 12.1549, 9.0915)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B4E #6B405D
analogous
#476B40 #406B4E #406B63
triadic
#406B4E #4E406B #6B4E40
tetradic
#406B4E #40476B #6B405D #6B6340
square
#406B4E #40476B #6B405D #6B6340
split-complementary
#406B4E #63406B #6B4047
monochromatic
#121E16 #294532 #406B4E #57916A #77AE89

Accessibility & contrast

On white

6.12
#406B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#406B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406B4E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406B4E#FFFFFF#000000##FFFFFF
##406B4E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B654C
Deuteranopia (green-blind)
#646050
Tritanopia (blue-blind)
#386A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406b4e;
/* rgb */ color: rgb(64, 107, 78);
/* oklch */ color: oklch(48.8% 0.067 153.7);
Tailwind
colors: {
  custom: {
    50: '#77957f',
    500: '#406b4e',
    950: '#000000',
  },
}
SCSS
$custom: #406b4e;
$custom-light: #77957f;
$custom-dark: #000000;
JSON
{
  "hex": "#406b4e",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 78
  },
  "hsl": {
    "h": 139.535,
    "s": 25.146,
    "l": 33.529
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.06715,
    "h": 153.7
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#406B4E
secondary
#996E8B
accent
#66A4C2
background
#F7F9F7
surface
#EDF1EE
border
#C8CBC9
text
#090D0A
muted
#7B7E7C

Preview Lab

Preview with #406B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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