#404D2E#404D2E

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

Color values

HEX#404D2E
RGBrgb(64, 77, 46)
HSLhsl(85, 25%, 24%)
HSVhsv(85, 40%, 30%)
CMYKcmyk(16.9%, 0%, 40.3%, 69.8%)
CIE-LABlab(30.87, -11.46, 16.73)
CIE-LCHlch(30.87, 20.28, 124.40°)
OKLaboklab(40% -0.0313 0.0414)
OKLCHoklch(40% 0.052 127.1)
XYZxyz(5.2613, 6.5950, 3.5800)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D2E #3B2E4D
analogous
#4D4B2E #404D2E #314D2E
triadic
#404D2E #2E404D #4D2E40
tetradic
#404D2E #2E4D4B #3B2E4D #4D2E31
square
#404D2E #2E4D4B #3B2E4D #4D2E31
split-complementary
#404D2E #2E314D #4B2E4D
monochromatic
#10130B #202717 #404D2E #607345 #809A5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404D2E#FFFFFF#000000##FFFFFF
##404D2E1.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)
#50492C
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#424A45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404d2e;
/* rgb */ color: rgb(64, 77, 46);
/* oklch */ color: oklch(40.0% 0.052 127.1);
Tailwind
colors: {
  custom: {
    50: '#757e67',
    500: '#404d2e',
    950: '#000000',
  },
}
SCSS
$custom: #404d2e;
$custom-light: #757e67;
$custom-dark: #000000;
JSON
{
  "hex": "#404d2e",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 85.161,
    "s": 25.203,
    "l": 24.118
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.05186,
    "h": 127.1
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#404D2E
secondary
#68587E
accent
#66C28D
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #404D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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