#403C2B#403C2B

#403C2B is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.5% C 0.028 H 96.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#403C2B
RGBrgb(64, 60, 43)
HSLhsl(49, 20%, 21%)
HSVhsv(49, 33%, 25%)
CMYKcmyk(0%, 6.2%, 32.8%, 74.9%)
CIE-LABlab(25.25, -1.50, 11.16)
CIE-LCHlch(25.25, 11.26, 97.65°)
OKLaboklab(35.51% -0.0032 0.0281)
OKLCHoklch(35.51% 0.028 96.4)
XYZxyz(4.1663, 4.4962, 2.9334)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C2B #2B2F40
analogous
#40312B #403C2B #39402B
triadic
#403C2B #2B403C #3C2B40
tetradic
#403C2B #2B4031 #2B2F40 #402B39
square
#403C2B #2B4031 #2B2F40 #402B39
split-complementary
#403C2B #2B3940 #312B40
monochromatic
#12110C #1B1A12 #403C2B #655E44 #89815C

Accessibility & contrast

On white

11.06
#403C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C2B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C2B#FFFFFF#000000##FFFFFF
##403C2B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2A
Deuteranopia (green-blind)
#413C2C
Tritanopia (blue-blind)
#433937
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c2b;
/* rgb */ color: rgb(64, 60, 43);
/* oklch */ color: oklch(35.5% 0.028 96.4);
Tailwind
colors: {
  custom: {
    50: '#757164',
    500: '#403c2b',
    950: '#000000',
  },
}
SCSS
$custom: #403c2b;
$custom-light: #757164;
$custom-dark: #000000;
JSON
{
  "hex": "#403c2b",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 43
  },
  "hsl": {
    "h": 48.571,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.35507,
    "c": 0.0283,
    "h": 96.4
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#403C2B
secondary
#565B71
accent
#7BBC6C
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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