#406E4E#406E4E

#406E4E is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.6% C 0.072 H 152.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#406E4E
RGBrgb(64, 110, 78)
HSLhsl(138, 26%, 34%)
HSVhsv(138, 42%, 43%)
CMYKcmyk(41.8%, 0%, 29.1%, 56.9%)
CIE-LABlab(42.45, -23.48, 13.02)
CIE-LCHlch(42.45, 26.85, 151.00°)
OKLaboklab(49.56% -0.0643 0.0331)
OKLCHoklch(49.56% 0.072 152.8)
XYZxyz(9.0649, 12.7913, 9.1976)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E4E #6E4060
analogous
#496E40 #406E4E #406E65
triadic
#406E4E #4E406E #6E4E40
tetradic
#406E4E #40496E #6E4060 #6E6540
square
#406E4E #40496E #6E4060 #6E6540
split-complementary
#406E4E #65406E #6E4049
monochromatic
#132117 #294733 #406E4E #579569 #78B089

Accessibility & contrast

On white

5.90
#406E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#406E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E4E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E4E#FFFFFF#000000##FFFFFF
##406E4E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674C
Deuteranopia (green-blind)
#676250
Tritanopia (blue-blind)
#376D65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406e4e;
/* rgb */ color: rgb(64, 110, 78);
/* oklch */ color: oklch(49.6% 0.072 152.8);
Tailwind
colors: {
  custom: {
    50: '#77987f',
    500: '#406e4e',
    950: '#000000',
  },
}
SCSS
$custom: #406e4e;
$custom-light: #77987f;
$custom-dark: #000000;
JSON
{
  "hex": "#406e4e",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 78
  },
  "hsl": {
    "h": 138.261,
    "s": 26.437,
    "l": 34.118
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.07232,
    "h": 152.8
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#406E4E
secondary
#9B6E8E
accent
#65A6C3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090D0A
muted
#7B7E7C

Preview Lab

Preview with #406E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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