#403D2B#403D2B

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

Color values

HEX#403D2B
RGBrgb(64, 61, 43)
HSLhsl(51, 20%, 21%)
HSVhsv(51, 33%, 25%)
CMYKcmyk(0%, 4.7%, 32.8%, 74.9%)
CIE-LABlab(25.57, -2.14, 11.60)
CIE-LCHlch(25.57, 11.79, 100.46°)
OKLaboklab(35.76% -0.005 0.0292)
OKLCHoklch(35.76% 0.03 99.7)
XYZxyz(4.2192, 4.6020, 2.9510)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D2B #2B2E40
analogous
#40322B #403D2B #38402B
triadic
#403D2B #2B403D #3D2B40
tetradic
#403D2B #2B4032 #2B2E40 #402B38
square
#403D2B #2B4032 #2B2E40 #402B38
split-complementary
#403D2B #2B3840 #322B40
monochromatic
#12110C #1B1A12 #403D2B #656044 #89835C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403D2B#FFFFFF#000000##FFFFFF
##403D2B1.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)
#403C2A
Deuteranopia (green-blind)
#413D2C
Tritanopia (blue-blind)
#433A38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d2b;
/* rgb */ color: rgb(64, 61, 43);
/* oklch */ color: oklch(35.8% 0.030 99.7);
Tailwind
colors: {
  custom: {
    50: '#757264',
    500: '#403d2b',
    950: '#000000',
  },
}
SCSS
$custom: #403d2b;
$custom-light: #757264;
$custom-dark: #000000;
JSON
{
  "hex": "#403d2b",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 43
  },
  "hsl": {
    "h": 51.429,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.02959,
    "h": 99.7
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#403D2B
secondary
#565A71
accent
#77BC6C
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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