#403B0A#403B0A

#403B0A is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.7% C 0.066 H 103.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#403B0A
RGBrgb(64, 59, 10)
HSLhsl(54, 73%, 15%)
HSVhsv(54, 84%, 25%)
CMYKcmyk(0%, 7.8%, 84.4%, 74.9%)
CIE-LABlab(24.45, -4.39, 29.15)
CIE-LCHlch(24.45, 29.48, 98.56°)
OKLaboklab(34.72% -0.0152 0.0642)
OKLCHoklch(34.72% 0.066 103.3)
XYZxyz(3.7333, 4.2400, 0.9089)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B0A #0A0F40
analogous
#40200A #403B0A #2A400A
triadic
#403B0A #0A403B #3B0A40
tetradic
#403B0A #0A4020 #0A0F40 #400A2A
square
#403B0A #0A4020 #0A0F40 #400A2A
split-complementary
#403B0A #0A2A40 #200A40
monochromatic
#1A1804 #1A1804 #403B0A #756C12 #AA9D1B

Accessibility & contrast

On white

11.36
#403B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B0A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B0A#FFFFFF#000000##FFFFFF
##403B0A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413903
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#463632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b0a;
/* rgb */ color: rgb(64, 59, 10);
/* oklch */ color: oklch(34.7% 0.066 103.3);
Tailwind
colors: {
  custom: {
    50: '#77704d',
    500: '#403b0a',
    950: '#000000',
  },
}
SCSS
$custom: #403b0a;
$custom-light: #77704d;
$custom-dark: #000000;
JSON
{
  "hex": "#403b0a",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 54.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3472,
    "c": 0.06593,
    "h": 103.3
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#403B0A
secondary
#29307D
accent
#49F038
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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