#403D16#403D16

#403D16 is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.4% C 0.057 H 104.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#403D16
RGBrgb(64, 61, 22)
HSLhsl(56, 49%, 17%)
HSVhsv(56, 66%, 25%)
CMYKcmyk(0%, 4.7%, 65.6%, 74.9%)
CIE-LABlab(25.22, -4.79, 24.01)
CIE-LCHlch(25.22, 24.48, 101.27°)
OKLaboklab(35.37% -0.0147 0.0555)
OKLCHoklch(35.37% 0.057 104.9)
XYZxyz(3.9280, 4.4855, 1.4178)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D16 #161940
analogous
#402816 #403D16 #2E4016
triadic
#403D16 #16403D #3D1640
tetradic
#403D16 #164028 #161940 #40162E
square
#403D16 #164028 #161940 #40162E
split-complementary
#403D16 #162E40 #281640
monochromatic
#171608 #171608 #403D16 #6E6826 #9B9435

Accessibility & contrast

On white

11.07
#403D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D16
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D16#FFFFFF#000000##FFFFFF
##403D161.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B12
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d16;
/* rgb */ color: rgb(64, 61, 22);
/* oklch */ color: oklch(35.4% 0.057 104.9);
Tailwind
colors: {
  custom: {
    50: '#767255',
    500: '#403d16',
    950: '#000000',
  },
}
SCSS
$custom: #403d16;
$custom-light: #767255;
$custom-dark: #000000;
JSON
{
  "hex": "#403d16",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 22
  },
  "hsl": {
    "h": 55.714,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.05746,
    "h": 104.9
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#403D16
secondary
#3B3F77
accent
#59D84F
background
#F7F6F5
surface
#EDECE8
border
#C8C7C4
text
#090703
muted
#7B7A78

Preview Lab

Preview with #403D16

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

Preview Lab → · Contrast checker → · Palette generator →

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