#403B2C#403B2C

#403B2C is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.3% C 0.026 H 91.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#403B2C
RGBrgb(64, 59, 44)
HSLhsl(45, 19%, 21%)
HSVhsv(45, 31%, 25%)
CMYKcmyk(0%, 7.8%, 31.2%, 74.9%)
CIE-LABlab(24.95, -0.69, 10.11)
CIE-LCHlch(24.95, 10.13, 93.92°)
OKLaboklab(35.28% -0.0008 0.0256)
OKLCHoklch(35.28% 0.026 91.8)
XYZxyz(4.1330, 4.3999, 3.0139)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B2C #2C3140
analogous
#40312C #403B2C #3B402C
triadic
#403B2C #2C403B #3B2C40
tetradic
#403B2C #2C4031 #2C3140 #402C3B
square
#403B2C #2C4031 #2C3140 #402C3B
split-complementary
#403B2C #2C3B40 #312C40
monochromatic
#12110C #1C1A13 #403B2C #645C45 #897E5E

Accessibility & contrast

On white

11.17
#403B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#403B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B2C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B2C#FFFFFF#000000##FFFFFF
##403B2C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#403C2C
Tritanopia (blue-blind)
#433937
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403b2c;
/* rgb */ color: rgb(64, 59, 44);
/* oklch */ color: oklch(35.3% 0.026 91.8);
Tailwind
colors: {
  custom: {
    50: '#757065',
    500: '#403b2c',
    950: '#000000',
  },
}
SCSS
$custom: #403b2c;
$custom-light: #757065;
$custom-dark: #000000;
JSON
{
  "hex": "#403b2c",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 44
  },
  "hsl": {
    "h": 45,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35281,
    "c": 0.0256,
    "h": 91.8
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#403B2C
secondary
#575D71
accent
#80BB6D
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080705
muted
#7B7A7A

Preview Lab

Preview with #403B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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