#403D2F#403D2F

#403D2F is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.9% C 0.023 H 97.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#403D2F
RGBrgb(64, 61, 47)
HSLhsl(49, 15%, 22%)
HSVhsv(49, 27%, 25%)
CMYKcmyk(0%, 4.7%, 26.6%, 74.9%)
CIE-LABlab(25.66, -1.47, 9.12)
CIE-LCHlch(25.66, 9.24, 99.15°)
OKLaboklab(35.87% -0.003 0.0232)
OKLCHoklch(35.87% 0.023 97.3)
XYZxyz(4.2962, 4.6328, 3.3567)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D2F #2F3240
analogous
#40352F #403D2F #3B402F
triadic
#403D2F #2F403D #3D2F40
tetradic
#403D2F #2F4035 #2F3240 #402F3B
square
#403D2F #2F4035 #2F3240 #402F3B
split-complementary
#403D2F #2F3B40 #352F40
monochromatic
#12110D #1D1B15 #403D2F #635F49 #878063

Accessibility & contrast

On white

10.90
#403D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D2F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D2F#FFFFFF#000000##FFFFFF
##403D2F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#413D2F
Tritanopia (blue-blind)
#433B39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d2f;
/* rgb */ color: rgb(64, 61, 47);
/* oklch */ color: oklch(35.9% 0.023 97.3);
Tailwind
colors: {
  custom: {
    50: '#757267',
    500: '#403d2f',
    950: '#000000',
  },
}
SCSS
$custom: #403d2f;
$custom-light: #757267;
$custom-dark: #000000;
JSON
{
  "hex": "#403d2f",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 47
  },
  "hsl": {
    "h": 49.412,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.02342,
    "h": 97.3
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#403D2F
secondary
#5B5E70
accent
#7CB870
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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