#404A2C#404A2C

#404A2C is a dark, muted yellow-green. Relative luminance 0.062; OKLCH L 39.2% C 0.049 H 123.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#404A2C
RGBrgb(64, 74, 44)
HSLhsl(80, 25%, 23%)
HSVhsv(80, 41%, 29%)
CMYKcmyk(13.5%, 0%, 40.5%, 71%)
CIE-LABlab(29.84, -10.00, 16.62)
CIE-LCHlch(29.84, 19.39, 121.04°)
OKLaboklab(39.16% -0.0273 0.041)
OKLCHoklch(39.16% 0.049 123.7)
XYZxyz(5.0177, 6.1694, 3.3088)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A2C #362C4A
analogous
#4A452C #404A2C #314A2C
triadic
#404A2C #2C404A #4A2C40
tetradic
#404A2C #2C4A45 #362C4A #4A2C31
square
#404A2C #2C4A45 #362C4A #4A2C31
split-complementary
#404A2C #2C314A #452C4A
monochromatic
#11130B #1F2415 #404A2C #617043 #82975A

Accessibility & contrast

On white

9.40
#404A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#404A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A2C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A2C#FFFFFF#000000##FFFFFF
##404A2C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472A
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#424742
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404a2c;
/* rgb */ color: rgb(64, 74, 44);
/* oklch */ color: oklch(39.2% 0.049 123.7);
Tailwind
colors: {
  custom: {
    50: '#757c65',
    500: '#404a2c',
    950: '#000000',
  },
}
SCSS
$custom: #404a2c;
$custom-light: #757c65;
$custom-dark: #000000;
JSON
{
  "hex": "#404a2c",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 25.424,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.04927,
    "h": 123.7
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#404A2C
secondary
#63567C
accent
#66C285
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #404A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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