#405F4E#405F4E

#405F4E is a mid, muted green. Relative luminance 0.098; OKLCH L 45.6% C 0.046 H 159.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#405F4E
RGBrgb(64, 95, 78)
HSLhsl(147, 19%, 31%)
HSVhsv(147, 33%, 37%)
CMYKcmyk(32.6%, 0%, 17.9%, 62.7%)
CIE-LABlab(37.52, -15.48, 6.13)
CIE-LCHlch(37.52, 16.65, 158.39°)
OKLaboklab(45.58% -0.0432 0.0158)
OKLCHoklch(45.58% 0.046 159.9)
XYZxyz(7.5812, 9.8241, 8.7030)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F4E #5F4051
analogous
#415F40 #405F4E #405F5D
triadic
#405F4E #4E405F #5F4E40
tetradic
#405F4E #40415F #5F4051 #5F5D40
square
#405F4E #40415F #5F4051 #5F5D40
split-complementary
#405F4E #5D405F #5F4041
monochromatic
#0F1612 #273A30 #405F4E #59846C #76A38B

Accessibility & contrast

On white

7.08
#405F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#405F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F4E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F4E#FFFFFF#000000##FFFFFF
##405F4E1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5A4D
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#3A5F5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405f4e;
/* rgb */ color: rgb(64, 95, 78);
/* oklch */ color: oklch(45.6% 0.046 159.9);
Tailwind
colors: {
  custom: {
    50: '#768c7f',
    500: '#405f4e',
    950: '#000000',
  },
}
SCSS
$custom: #405f4e;
$custom-light: #768c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#405f4e",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 147.097,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.04597,
    "h": 159.9
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#405F4E
secondary
#8F6C7F
accent
#6C98BC
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C0A
muted
#7B7D7C

Preview Lab

Preview with #405F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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