#404E41#404E41

#404E41 is a dark, muted green. Relative luminance 0.069; OKLCH L 40.7% C 0.028 H 147.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#404E41
RGBrgb(64, 78, 65)
HSLhsl(124, 10%, 28%)
HSVhsv(124, 18%, 31%)
CMYKcmyk(17.9%, 0%, 16.7%, 69.4%)
CIE-LABlab(31.62, -8.51, 5.88)
CIE-LCHlch(31.62, 10.34, 145.39°)
OKLaboklab(40.75% -0.0234 0.0152)
OKLCHoklch(40.75% 0.028 147)
XYZxyz(5.7927, 6.9203, 6.0306)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E41 #4E404D
analogous
#464E40 #404E41 #404E48
triadic
#404E41 #41404E #4E4140
tetradic
#404E41 #40464E #4E404D #4E4840
square
#404E41 #40464E #4E404D #4E4840
split-complementary
#404E41 #48404E #4E4046
monochromatic
#0E110E #242C25 #404E41 #5C705D #78907A

Accessibility & contrast

On white

8.81
#404E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#404E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E41
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E41#FFFFFF#000000##FFFFFF
##404E411.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#3F4D4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404e41;
/* rgb */ color: rgb(64, 78, 65);
/* oklch */ color: oklch(40.7% 0.028 147.0);
Tailwind
colors: {
  custom: {
    50: '#757f75',
    500: '#404e41',
    950: '#000000',
  },
}
SCSS
$custom: #404e41;
$custom-light: #757f75;
$custom-dark: #000000;
JSON
{
  "hex": "#404e41",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 65
  },
  "hsl": {
    "h": 124.286,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.02787,
    "h": 147
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#404E41
secondary
#7D6D7C
accent
#75AEB3
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #404E41

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

Preview Lab → · Contrast checker → · Palette generator →

#404E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva