#403D0B#403D0B

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

Color values

HEX#403D0B
RGBrgb(64, 61, 11)
HSLhsl(57, 71%, 15%)
HSVhsv(57, 83%, 25%)
CMYKcmyk(0%, 4.7%, 82.8%, 74.9%)
CIE-LABlab(25.11, -5.59, 29.37)
CIE-LCHlch(25.11, 29.90, 100.77°)
OKLaboklab(35.25% -0.0184 0.0648)
OKLCHoklch(35.25% 0.067 105.9)
XYZxyz(3.8437, 4.4518, 0.9734)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D0B #0B0E40
analogous
#40230B #403D0B #29400B
triadic
#403D0B #0B403D #3D0B40
tetradic
#403D0B #0B4023 #0B0E40 #400B29
square
#403D0B #0B4023 #0B0E40 #400B29
split-complementary
#403D0B #0B2940 #230B40
monochromatic
#1A1904 #1A1904 #403D0B #746F14 #A8A11D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403D0B#FFFFFF#000000##FFFFFF
##403D0B1.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)
#433A04
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#453833
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d0b;
/* rgb */ color: rgb(64, 61, 11);
/* oklch */ color: oklch(35.3% 0.067 105.9);
Tailwind
colors: {
  custom: {
    50: '#77724e',
    500: '#403d0b',
    950: '#000000',
  },
}
SCSS
$custom: #403d0b;
$custom-light: #77724e;
$custom-dark: #000000;
JSON
{
  "hex": "#403d0b",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 56.604,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.06739,
    "h": 105.9
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#403D0B
secondary
#2A2F7D
accent
#44ED3A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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