#403C0A#403C0A

#403C0A is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 35.0% C 0.067 H 104.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#403C0A
RGBrgb(64, 60, 10)
HSLhsl(56, 73%, 15%)
HSVhsv(56, 84%, 25%)
CMYKcmyk(0%, 6.2%, 84.4%, 74.9%)
CIE-LABlab(24.78, -5.02, 29.47)
CIE-LCHlch(24.78, 29.89, 99.66°)
OKLaboklab(34.98% -0.017 0.0648)
OKLCHoklch(34.98% 0.067 104.7)
XYZxyz(3.7852, 4.3438, 0.9262)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C0A #0A0E40
analogous
#40210A #403C0A #29400A
triadic
#403C0A #0A403C #3C0A40
tetradic
#403C0A #0A4021 #0A0E40 #400A29
square
#403C0A #0A4021 #0A0E40 #400A29
split-complementary
#403C0A #0A2940 #210A40
monochromatic
#1A1904 #1A1904 #403C0A #756E12 #AA9F1B

Accessibility & contrast

On white

11.24
#403C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C0A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C0A#FFFFFF#000000##FFFFFF
##403C0A1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A03
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#453732
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c0a;
/* rgb */ color: rgb(64, 60, 10);
/* oklch */ color: oklch(35.0% 0.067 104.7);
Tailwind
colors: {
  custom: {
    50: '#77714d',
    500: '#403c0a',
    950: '#000000',
  },
}
SCSS
$custom: #403c0a;
$custom-light: #77714d;
$custom-dark: #000000;
JSON
{
  "hex": "#403c0a",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 55.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.06699,
    "h": 104.7
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#403C0A
secondary
#292F7D
accent
#46F038
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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