#406A4E#406A4E

#406A4E is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.5% C 0.065 H 154.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#406A4E
RGBrgb(64, 106, 78)
HSLhsl(140, 25%, 33%)
HSVhsv(140, 40%, 42%)
CMYKcmyk(39.6%, 0%, 26.4%, 58.4%)
CIE-LABlab(41.13, -21.42, 11.20)
CIE-LCHlch(41.13, 24.17, 152.39°)
OKLaboklab(48.49% -0.0588 0.0286)
OKLCHoklch(48.49% 0.065 154.1)
XYZxyz(8.6430, 11.9476, 9.0569)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A4E #6A405C
analogous
#476A40 #406A4E #406A63
triadic
#406A4E #4E406A #6A4E40
tetradic
#406A4E #40476A #6A405C #6A6340
square
#406A4E #40476A #6A405C #6A6340
split-complementary
#406A4E #63406A #6A4047
monochromatic
#121E16 #294432 #406A4E #57906A #77AD89

Accessibility & contrast

On white

6.20
#406A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#406A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A4E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A4E#FFFFFF#000000##FFFFFF
##406A4E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A644C
Deuteranopia (green-blind)
#635F50
Tritanopia (blue-blind)
#386962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406a4e;
/* rgb */ color: rgb(64, 106, 78);
/* oklch */ color: oklch(48.5% 0.065 154.1);
Tailwind
colors: {
  custom: {
    50: '#77957f',
    500: '#406a4e',
    950: '#000000',
  },
}
SCSS
$custom: #406a4e;
$custom-light: #77957f;
$custom-dark: #000000;
JSON
{
  "hex": "#406a4e",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 78
  },
  "hsl": {
    "h": 140,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.06542,
    "h": 154.1
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#406A4E
secondary
#986D8A
accent
#67A3C1
background
#F7F9F7
surface
#EDF1EE
border
#C8CBC9
text
#090D0A
muted
#7B7E7C

Preview Lab

Preview with #406A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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