#403D32#403D32

#403D32 is a dark, near-neutral yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.019 H 94.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#403D32
RGBrgb(64, 61, 50)
HSLhsl(47, 12%, 22%)
HSVhsv(47, 22%, 25%)
CMYKcmyk(0%, 4.7%, 21.9%, 74.9%)
CIE-LABlab(25.74, -0.93, 7.26)
CIE-LCHlch(25.74, 7.32, 97.30°)
OKLaboklab(35.95% -0.0015 0.0187)
OKLCHoklch(35.95% 0.019 94.5)
XYZxyz(4.3588, 4.6578, 3.6864)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D32 #323540
analogous
#403632 #403D32 #3C4032
triadic
#403D32 #32403D #3D3240
tetradic
#403D32 #324036 #323540 #40323C
square
#403D32 #324036 #323540 #40323C
split-complementary
#403D32 #323C40 #363240
monochromatic
#11100D #1E1C17 #403D32 #625E4D #857E68

Accessibility & contrast

On white

10.87
#403D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403D32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D32
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D32#FFFFFF#000000##FFFFFF
##403D321.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C31
Deuteranopia (green-blind)
#403D32
Tritanopia (blue-blind)
#423B3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d32;
/* rgb */ color: rgb(64, 61, 50);
/* oklch */ color: oklch(35.9% 0.019 94.5);
Tailwind
colors: {
  custom: {
    50: '#757269',
    500: '#403d32',
    950: '#000000',
  },
}
SCSS
$custom: #403d32;
$custom-light: #757269;
$custom-dark: #000000;
JSON
{
  "hex": "#403d32",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 50
  },
  "hsl": {
    "h": 47.143,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.01872,
    "h": 94.5
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#403D32
secondary
#5E6270
accent
#81B573
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403D32

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

Preview Lab → · Contrast checker → · Palette generator →

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