#406F4E#406F4E

#406F4E is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.8% C 0.074 H 152.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#406F4E
RGBrgb(64, 111, 78)
HSLhsl(138, 27%, 34%)
HSVhsv(138, 42%, 44%)
CMYKcmyk(42.3%, 0%, 29.7%, 56.5%)
CIE-LABlab(42.78, -23.99, 13.47)
CIE-LCHlch(42.78, 27.51, 150.69°)
OKLaboklab(49.82% -0.0657 0.0342)
OKLCHoklch(49.82% 0.074 152.5)
XYZxyz(9.1734, 13.0083, 9.2337)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F4E #6F4061
analogous
#4A6F40 #406F4E #406F66
triadic
#406F4E #4E406F #6F4E40
tetradic
#406F4E #404A6F #6F4061 #6F6640
square
#406F4E #404A6F #6F4061 #6F6640
split-complementary
#406F4E #66406F #6F404A
monochromatic
#132117 #2A4833 #406F4E #569669 #78B189

Accessibility & contrast

On white

5.83
#406F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#406F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F4E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F4E#FFFFFF#000000##FFFFFF
##406F4E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684C
Deuteranopia (green-blind)
#686350
Tritanopia (blue-blind)
#376E66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #406f4e;
/* rgb */ color: rgb(64, 111, 78);
/* oklch */ color: oklch(49.8% 0.074 152.5);
Tailwind
colors: {
  custom: {
    50: '#77987f',
    500: '#406f4e',
    950: '#000000',
  },
}
SCSS
$custom: #406f4e;
$custom-light: #77987f;
$custom-dark: #000000;
JSON
{
  "hex": "#406f4e",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 137.872,
    "s": 26.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.49824,
    "c": 0.07403,
    "h": 152.5
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#406F4E
secondary
#9C6F8F
accent
#65A7C3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #406F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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