#406A51#406A51

#406A51 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.6% C 0.062 H 157.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#406A51
RGBrgb(64, 106, 81)
HSLhsl(144, 25%, 33%)
HSVhsv(144, 40%, 42%)
CMYKcmyk(39.6%, 0%, 23.6%, 58.4%)
CIE-LABlab(41.20, -20.77, 9.50)
CIE-LCHlch(41.20, 22.84, 155.43°)
OKLaboklab(48.57% -0.0573 0.0243)
OKLCHoklch(48.57% 0.062 157)
XYZxyz(8.7530, 11.9916, 9.6364)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406A51 #6A4059
analogous
#446A40 #406A51 #406A66
triadic
#406A51 #51406A #6A5140
tetradic
#406A51 #40446A #6A4059 #6A6640
square
#406A51 #40446A #6A4059 #6A6640
split-complementary
#406A51 #66406A #6A4044
monochromatic
#121E17 #294434 #406A51 #57906E #77AD8D

Accessibility & contrast

On white

6.18
#406A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#406A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406A51
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406A51#FFFFFF#000000##FFFFFF
##406A511.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696450
Deuteranopia (green-blind)
#635F52
Tritanopia (blue-blind)
#376963
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406a51;
/* rgb */ color: rgb(64, 106, 81);
/* oklch */ color: oklch(48.6% 0.062 157.0);
Tailwind
colors: {
  custom: {
    50: '#779581',
    500: '#406a51',
    950: '#000000',
  },
}
SCSS
$custom: #406a51;
$custom-light: #779581;
$custom-dark: #000000;
JSON
{
  "hex": "#406a51",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 81
  },
  "hsl": {
    "h": 144.286,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.06229,
    "h": 157
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#406A51
secondary
#986D87
accent
#679DC1
background
#F7F9F7
surface
#EDF1EE
border
#C8CBC9
text
#090D0A
muted
#7B7E7C

Preview Lab

Preview with #406A51

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

Preview Lab → · Contrast checker → · Palette generator →

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