#403D2D#403D2D

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

Color values

HEX#403D2D
RGBrgb(64, 61, 45)
HSLhsl(51, 17%, 21%)
HSVhsv(51, 30%, 25%)
CMYKcmyk(0%, 4.7%, 29.7%, 74.9%)
CIE-LABlab(25.61, -1.81, 10.36)
CIE-LCHlch(25.61, 10.52, 99.91°)
OKLaboklab(35.81% -0.004 0.0262)
OKLCHoklch(35.81% 0.027 98.7)
XYZxyz(4.2568, 4.6170, 3.1490)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D2D #2D3040
analogous
#40342D #403D2D #3A402D
triadic
#403D2D #2D403D #3D2D40
tetradic
#403D2D #2D4034 #2D3040 #402D3A
square
#403D2D #2D4034 #2D3040 #402D3A
split-complementary
#403D2D #2D3A40 #342D40
monochromatic
#12110D #1C1B14 #403D2D #645F46 #888260

Accessibility & contrast

On white

10.92
#403D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D2D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D2D#FFFFFF#000000##FFFFFF
##403D2D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403d2d;
/* rgb */ color: rgb(64, 61, 45);
/* oklch */ color: oklch(35.8% 0.027 98.7);
Tailwind
colors: {
  custom: {
    50: '#757266',
    500: '#403d2d',
    950: '#000000',
  },
}
SCSS
$custom: #403d2d;
$custom-light: #757266;
$custom-dark: #000000;
JSON
{
  "hex": "#403d2d",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 45
  },
  "hsl": {
    "h": 50.526,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.02652,
    "h": 98.7
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#403D2D
secondary
#585C71
accent
#7ABA6E
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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