#406C4E#406C4E

#406C4E is a mid, moderate green. Relative luminance 0.124; OKLCH L 49.0% C 0.069 H 153.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#406C4E
RGBrgb(64, 108, 78)
HSLhsl(139, 26%, 34%)
HSVhsv(139, 41%, 42%)
CMYKcmyk(40.7%, 0%, 27.8%, 57.6%)
CIE-LABlab(41.79, -22.46, 12.11)
CIE-LCHlch(41.79, 25.51, 151.66°)
OKLaboklab(49.03% -0.0616 0.0309)
OKLCHoklch(49.03% 0.069 153.4)
XYZxyz(8.8515, 12.3646, 9.1265)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C4E #6C405E
analogous
#486C40 #406C4E #406C64
triadic
#406C4E #4E406C #6C4E40
tetradic
#406C4E #40486C #6C405E #6C6440
square
#406C4E #40486C #6C405E #6C6440
split-complementary
#406C4E #64406C #6C4048
monochromatic
#121F16 #294632 #406C4E #57926A #78AF89

Accessibility & contrast

On white

6.05
#406C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#406C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406C4E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C4E#FFFFFF#000000##FFFFFF
##406C4E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C654C
Deuteranopia (green-blind)
#656150
Tritanopia (blue-blind)
#386B64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406c4e;
/* rgb */ color: rgb(64, 108, 78);
/* oklch */ color: oklch(49.0% 0.069 153.4);
Tailwind
colors: {
  custom: {
    50: '#77967f',
    500: '#406c4e',
    950: '#000000',
  },
}
SCSS
$custom: #406c4e;
$custom-light: #77967f;
$custom-dark: #000000;
JSON
{
  "hex": "#406c4e",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 78
  },
  "hsl": {
    "h": 139.091,
    "s": 25.581,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.06888,
    "h": 153.4
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#406C4E
secondary
#9A6E8C
accent
#66A5C2
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090D0A
muted
#7B7E7C

Preview Lab

Preview with #406C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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