#404B2A#404B2A

#404B2A is a dark, muted yellow-green. Relative luminance 0.063; OKLCH L 39.4% C 0.054 H 123.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#404B2A
RGBrgb(64, 75, 42)
HSLhsl(80, 28%, 23%)
HSVhsv(80, 44%, 29%)
CMYKcmyk(14.7%, 0%, 44%, 70.6%)
CIE-LABlab(30.13, -10.89, 18.22)
CIE-LCHlch(30.13, 21.22, 120.87°)
OKLaboklab(39.39% -0.0299 0.0446)
OKLCHoklch(39.39% 0.054 123.9)
XYZxyz(5.0483, 6.2893, 3.1380)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B2A #352A4B
analogous
#4B452A #404B2A #2F4B2A
triadic
#404B2A #2A404B #4B2A40
tetradic
#404B2A #2A4B45 #352A4B #4B2A2F
square
#404B2A #2A4B45 #352A4B #4B2A2F
split-complementary
#404B2A #2A2F4B #452A4B
monochromatic
#11140B #1F2414 #404B2A #617240 #839956

Accessibility & contrast

On white

9.30
#404B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#404B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B2A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B2A#FFFFFF#000000##FFFFFF
##404B2A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4728
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#424843
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404b2a;
/* rgb */ color: rgb(64, 75, 42);
/* oklch */ color: oklch(39.4% 0.054 123.9);
Tailwind
colors: {
  custom: {
    50: '#757d64',
    500: '#404b2a',
    950: '#000000',
  },
}
SCSS
$custom: #404b2a;
$custom-light: #757d64;
$custom-dark: #000000;
JSON
{
  "hex": "#404b2a",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 28.205,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39386,
    "c": 0.05373,
    "h": 123.9
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#404B2A
secondary
#62547D
accent
#63C584
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #404B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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