#403D0D#403D0D

#403D0D is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.066 H 105.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#403D0D
RGBrgb(64, 61, 13)
HSLhsl(56, 66%, 15%)
HSVhsv(56, 80%, 25%)
CMYKcmyk(0%, 4.7%, 79.7%, 74.9%)
CIE-LABlab(25.13, -5.47, 28.50)
CIE-LCHlch(25.13, 29.02, 100.86°)
OKLaboklab(35.27% -0.0179 0.0634)
OKLCHoklch(35.27% 0.066 105.7)
XYZxyz(3.8559, 4.4567, 1.0378)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D0D #0D1040
analogous
#40240D #403D0D #29400D
triadic
#403D0D #0D403D #3D0D40
tetradic
#403D0D #0D4024 #0D1040 #400D29
square
#403D0D #0D4024 #0D1040 #400D29
split-complementary
#403D0D #0D2940 #240D40
monochromatic
#191805 #191805 #403D0D #736D17 #A69E22

Accessibility & contrast

On white

11.10
#403D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D0D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D0D#FFFFFF#000000##FFFFFF
##403D0D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#443D10
Tritanopia (blue-blind)
#453834
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d0d;
/* rgb */ color: rgb(64, 61, 13);
/* oklch */ color: oklch(35.3% 0.066 105.7);
Tailwind
colors: {
  custom: {
    50: '#77724f',
    500: '#403d0d',
    950: '#000000',
  },
}
SCSS
$custom: #403d0d;
$custom-light: #77724f;
$custom-dark: #000000;
JSON
{
  "hex": "#403d0d",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 56.471,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.06587,
    "h": 105.7
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#403D0D
secondary
#2D327C
accent
#49E93F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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