#404D2D#404D2D

#404D2D is a dark, muted yellow-green. Relative luminance 0.066; OKLCH L 40.0% C 0.053 H 126.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#404D2D
RGBrgb(64, 77, 45)
HSLhsl(84, 26%, 24%)
HSVhsv(84, 42%, 30%)
CMYKcmyk(16.9%, 0%, 41.6%, 69.8%)
CIE-LABlab(30.85, -11.61, 17.32)
CIE-LCHlch(30.85, 20.85, 123.84°)
OKLaboklab(39.98% -0.0318 0.0427)
OKLCHoklch(39.98% 0.053 126.7)
XYZxyz(5.2418, 6.5872, 3.4774)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D2D #3A2D4D
analogous
#4D4A2D #404D2D #304D2D
triadic
#404D2D #2D404D #4D2D40
tetradic
#404D2D #2D4D4A #3A2D4D #4D2D30
square
#404D2D #2D4D4A #3A2D4D #4D2D30
split-complementary
#404D2D #2D304D #4A2D4D
monochromatic
#10130B #202616 #404D2D #607444 #809A5A

Accessibility & contrast

On white

9.06
#404D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#404D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D2D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D2D#FFFFFF#000000##FFFFFF
##404D2D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#424A45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404d2d;
/* rgb */ color: rgb(64, 77, 45);
/* oklch */ color: oklch(40.0% 0.053 126.7);
Tailwind
colors: {
  custom: {
    50: '#757e66',
    500: '#404d2d',
    950: '#000000',
  },
}
SCSS
$custom: #404d2d;
$custom-light: #757e66;
$custom-dark: #000000;
JSON
{
  "hex": "#404d2d",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 84.375,
    "s": 26.23,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.05321,
    "h": 126.7
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#404D2D
secondary
#67577F
accent
#65C38B
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #404D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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