#404C2A#404C2A

#404C2A is a dark, muted yellow-green. Relative luminance 0.064; OKLCH L 39.7% C 0.055 H 124.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#404C2A
RGBrgb(64, 76, 42)
HSLhsl(81, 29%, 23%)
HSVhsv(81, 45%, 30%)
CMYKcmyk(15.8%, 0%, 44.7%, 70.2%)
CIE-LABlab(30.46, -11.48, 18.64)
CIE-LCHlch(30.46, 21.89, 121.62°)
OKLaboklab(39.65% -0.0316 0.0456)
OKLCHoklch(39.65% 0.055 124.7)
XYZxyz(5.1167, 6.4260, 3.1608)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C2A #362A4C
analogous
#4C472A #404C2A #2F4C2A
triadic
#404C2A #2A404C #4C2A40
tetradic
#404C2A #2A4C47 #362A4C #4C2A2F
square
#404C2A #2A4C47 #362A4C #4C2A2F
split-complementary
#404C2A #2A2F4C #472A4C
monochromatic
#11140B #1F2514 #404C2A #617340 #829B56

Accessibility & contrast

On white

9.19
#404C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#404C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C2A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C2A#FFFFFF#000000##FFFFFF
##404C2A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#424944
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404c2a;
/* rgb */ color: rgb(64, 76, 42);
/* oklch */ color: oklch(39.7% 0.055 124.7);
Tailwind
colors: {
  custom: {
    50: '#757e64',
    500: '#404c2a',
    950: '#000000',
  },
}
SCSS
$custom: #404c2a;
$custom-light: #757e64;
$custom-dark: #000000;
JSON
{
  "hex": "#404c2a",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 81.176,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.05546,
    "h": 124.7
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#404C2A
secondary
#63547E
accent
#63C585
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #404C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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