#403D2A#403D2A

#403D2A is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.7% C 0.031 H 100.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#403D2A
RGBrgb(64, 61, 42)
HSLhsl(52, 21%, 21%)
HSVhsv(52, 34%, 25%)
CMYKcmyk(0%, 4.7%, 34.4%, 74.9%)
CIE-LABlab(25.55, -2.30, 12.21)
CIE-LCHlch(25.55, 12.43, 100.67°)
OKLaboklab(35.74% -0.0055 0.0306)
OKLCHoklch(35.74% 0.031 100.2)
XYZxyz(4.2010, 4.5947, 2.8556)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D2A #2A2D40
analogous
#40322A #403D2A #38402A
triadic
#403D2A #2A403D #3D2A40
tetradic
#403D2A #2A4032 #2A2D40 #402A38
square
#403D2A #2A4032 #2A2D40 #402A38
split-complementary
#403D2A #2A3840 #322A40
monochromatic
#12120C #1B1A12 #403D2A #656042 #8A835A

Accessibility & contrast

On white

10.94
#403D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#403D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D2A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D2A#FFFFFF#000000##FFFFFF
##403D2A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#423D2B
Tritanopia (blue-blind)
#433A38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d2a;
/* rgb */ color: rgb(64, 61, 42);
/* oklch */ color: oklch(35.7% 0.031 100.2);
Tailwind
colors: {
  custom: {
    50: '#757263',
    500: '#403d2a',
    950: '#000000',
  },
}
SCSS
$custom: #403d2a;
$custom-light: #757263;
$custom-dark: #000000;
JSON
{
  "hex": "#403d2a",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 42
  },
  "hsl": {
    "h": 51.818,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.03109,
    "h": 100.2
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#403D2A
secondary
#555871
accent
#76BD6A
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #403D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#403D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva