#403A0A#403A0A

#403A0A is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.5% C 0.065 H 101.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#403A0A
RGBrgb(64, 58, 10)
HSLhsl(53, 73%, 15%)
HSVhsv(53, 84%, 25%)
CMYKcmyk(0%, 9.4%, 84.4%, 74.9%)
CIE-LABlab(24.12, -3.76, 28.83)
CIE-LCHlch(24.12, 29.08, 97.42°)
OKLaboklab(34.46% -0.0134 0.0635)
OKLCHoklch(34.46% 0.065 101.9)
XYZxyz(3.6824, 4.1382, 0.8919)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A0A #0A1040
analogous
#401F0A #403A0A #2B400A
triadic
#403A0A #0A403A #3A0A40
tetradic
#403A0A #0A401F #0A1040 #400A2B
square
#403A0A #0A401F #0A1040 #400A2B
split-complementary
#403A0A #0A2B40 #1F0A40
monochromatic
#1A1804 #1A1804 #403A0A #756A12 #AA9A1B

Accessibility & contrast

On white

11.49
#403A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A0A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A0A#FFFFFF#000000##FFFFFF
##403A0A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403803
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#463531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a0a;
/* rgb */ color: rgb(64, 58, 10);
/* oklch */ color: oklch(34.5% 0.065 101.9);
Tailwind
colors: {
  custom: {
    50: '#776f4d',
    500: '#403a0a',
    950: '#000000',
  },
}
SCSS
$custom: #403a0a;
$custom-light: #776f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#403a0a",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 53.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34461,
    "c": 0.0649,
    "h": 101.9
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#403A0A
secondary
#29327D
accent
#4DF038
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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