#403B2A#403B2A

#403B2A is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.2% C 0.029 H 93.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#403B2A
RGBrgb(64, 59, 42)
HSLhsl(46, 21%, 21%)
HSVhsv(46, 34%, 25%)
CMYKcmyk(0%, 7.8%, 34.4%, 74.9%)
CIE-LABlab(24.91, -1.02, 11.35)
CIE-LCHlch(24.91, 11.39, 95.12°)
OKLaboklab(35.23% -0.0018 0.0285)
OKLCHoklch(35.23% 0.029 93.6)
XYZxyz(4.0963, 4.3852, 2.8207)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B2A #2A2F40
analogous
#40302A #403B2A #3A402A
triadic
#403B2A #2A403B #3B2A40
tetradic
#403B2A #2A4030 #2A2F40 #402A3A
square
#403B2A #2A4030 #2A2F40 #402A3A
split-complementary
#403B2A #2A3A40 #302A40
monochromatic
#12110C #1B1912 #403B2A #655D42 #8A7F5A

Accessibility & contrast

On white

11.19
#403B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B2A
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B2A#FFFFFF#000000##FFFFFF
##403B2A1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A29
Deuteranopia (green-blind)
#403C2B
Tritanopia (blue-blind)
#433836
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403b2a;
/* rgb */ color: rgb(64, 59, 42);
/* oklch */ color: oklch(35.2% 0.029 93.6);
Tailwind
colors: {
  custom: {
    50: '#757063',
    500: '#403b2a',
    950: '#000000',
  },
}
SCSS
$custom: #403b2a;
$custom-light: #757063;
$custom-dark: #000000;
JSON
{
  "hex": "#403b2a",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 42
  },
  "hsl": {
    "h": 46.364,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.0286,
    "h": 93.6
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

primary
#403B2A
secondary
#555B71
accent
#7DBD6A
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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