#403D2C#403D2C

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

Color values

HEX#403D2C
RGBrgb(64, 61, 44)
HSLhsl(51, 19%, 21%)
HSVhsv(51, 31%, 25%)
CMYKcmyk(0%, 4.7%, 31.2%, 74.9%)
CIE-LABlab(25.59, -1.98, 10.98)
CIE-LCHlch(25.59, 11.15, 100.21°)
OKLaboklab(35.79% -0.0045 0.0277)
OKLCHoklch(35.79% 0.028 99.2)
XYZxyz(4.2377, 4.6094, 3.0489)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D2C #2C2F40
analogous
#40332C #403D2C #39402C
triadic
#403D2C #2C403D #3D2C40
tetradic
#403D2C #2C4033 #2C2F40 #402C39
square
#403D2C #2C4033 #2C2F40 #402C39
split-complementary
#403D2C #2C3940 #332C40
monochromatic
#12110C #1C1A13 #403D2C #646045 #89825E

Accessibility & contrast

On white

10.93
#403D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D2C
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D2C#FFFFFF#000000##FFFFFF
##403D2C1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2B
Deuteranopia (green-blind)
#413D2D
Tritanopia (blue-blind)
#433B38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d2c;
/* rgb */ color: rgb(64, 61, 44);
/* oklch */ color: oklch(35.8% 0.028 99.2);
Tailwind
colors: {
  custom: {
    50: '#757265',
    500: '#403d2c',
    950: '#000000',
  },
}
SCSS
$custom: #403d2c;
$custom-light: #757265;
$custom-dark: #000000;
JSON
{
  "hex": "#403d2c",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 44
  },
  "hsl": {
    "h": 51,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.02805,
    "h": 99.2
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#403D2C
secondary
#575B71
accent
#78BB6D
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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