#404D40#404D40

#404D40 is a dark, muted green. Relative luminance 0.068; OKLCH L 40.5% C 0.027 H 145.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#404D40
RGBrgb(64, 77, 64)
HSLhsl(120, 9%, 28%)
HSVhsv(120, 17%, 30%)
CMYKcmyk(16.9%, 0%, 16.9%, 69.8%)
CIE-LABlab(31.27, -8.12, 6.01)
CIE-LCHlch(31.27, 10.11, 143.50°)
OKLaboklab(40.46% -0.0222 0.0155)
OKLCHoklch(40.46% 0.027 145.1)
XYZxyz(5.6934, 6.7678, 5.8558)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D40 #4D404D
analogous
#464D40 #404D40 #404D46
triadic
#404D40 #40404D #4D4040
tetradic
#404D40 #40464D #4D404D #4D4640
square
#404D40 #40464D #4D404D #4D4640
split-complementary
#404D40 #46404D #4D4046
monochromatic
#0E110E #242C24 #404D40 #5C6E5C #788F78

Accessibility & contrast

On white

8.92
#404D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D40
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D40#FFFFFF#000000##FFFFFF
##404D401.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3F
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#3F4C49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404d40;
/* rgb */ color: rgb(64, 77, 64);
/* oklch */ color: oklch(40.5% 0.027 145.1);
Tailwind
colors: {
  custom: {
    50: '#757e74',
    500: '#404d40',
    950: '#000000',
  },
}
SCSS
$custom: #404d40;
$custom-light: #757e74;
$custom-dark: #000000;
JSON
{
  "hex": "#404d40",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 9.22,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40457,
    "c": 0.02713,
    "h": 145.1
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#404D40
secondary
#7C6D7C
accent
#76B2B2
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #404D40

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

Preview Lab → · Contrast checker → · Palette generator →

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