#403D0A#403D0A

#403D0A is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.2% C 0.068 H 106.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#403D0A
RGBrgb(64, 61, 10)
HSLhsl(57, 73%, 15%)
HSVhsv(57, 84%, 25%)
CMYKcmyk(0%, 4.7%, 84.4%, 74.9%)
CIE-LABlab(25.11, -5.64, 29.79)
CIE-LCHlch(25.11, 30.31, 100.72°)
OKLaboklab(35.24% -0.0187 0.0655)
OKLCHoklch(35.24% 0.068 106)
XYZxyz(3.8380, 4.4495, 0.9438)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D0A #0A0D40
analogous
#40220A #403D0A #28400A
triadic
#403D0A #0A403D #3D0A40
tetradic
#403D0A #0A4022 #0A0D40 #400A28
square
#403D0A #0A4022 #0A0D40 #400A28
split-complementary
#403D0A #0A2840 #220A40
monochromatic
#1A1904 #1A1904 #403D0A #756F12 #AAA21B

Accessibility & contrast

On white

11.11
#403D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D0A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D0A#FFFFFF#000000##FFFFFF
##403D0A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A02
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#453833
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d0a;
/* rgb */ color: rgb(64, 61, 10);
/* oklch */ color: oklch(35.2% 0.068 106.0);
Tailwind
colors: {
  custom: {
    50: '#77724e',
    500: '#403d0a',
    950: '#000000',
  },
}
SCSS
$custom: #403d0a;
$custom-light: #77724e;
$custom-dark: #000000;
JSON
{
  "hex": "#403d0a",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 10
  },
  "hsl": {
    "h": 56.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35242,
    "c": 0.06808,
    "h": 106
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#403D0A
secondary
#292D7D
accent
#42F038
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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