#403D11#403D11

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

Color values

HEX#403D11
RGBrgb(64, 61, 17)
HSLhsl(56, 58%, 16%)
HSVhsv(56, 73%, 25%)
CMYKcmyk(0%, 4.7%, 73.4%, 74.9%)
CIE-LABlab(25.16, -5.20, 26.61)
CIE-LCHlch(25.16, 27.11, 101.05°)
OKLaboklab(35.31% -0.0166 0.0602)
OKLCHoklch(35.31% 0.062 105.4)
XYZxyz(3.8844, 4.4681, 1.1880)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D11 #111440
analogous
#402511 #403D11 #2B4011
triadic
#403D11 #11403D #3D1140
tetradic
#403D11 #114025 #111440 #40112B
square
#403D11 #114025 #111440 #40112B
split-complementary
#403D11 #112B40 #251140
monochromatic
#181706 #181706 #403D11 #706B1E #A1992B

Accessibility & contrast

On white

11.09
#403D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D11
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D11#FFFFFF#000000##FFFFFF
##403D111.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0B
Deuteranopia (green-blind)
#443D14
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d11;
/* rgb */ color: rgb(64, 61, 17);
/* oklch */ color: oklch(35.3% 0.062 105.4);
Tailwind
colors: {
  custom: {
    50: '#777252',
    500: '#403d11',
    950: '#000000',
  },
}
SCSS
$custom: #403d11;
$custom-light: #777252;
$custom-dark: #000000;
JSON
{
  "hex": "#403d11",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 17
  },
  "hsl": {
    "h": 56.17,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35306,
    "c": 0.06246,
    "h": 105.4
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#403D11
secondary
#333879
accent
#50E147
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D11

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

Preview Lab → · Contrast checker → · Palette generator →

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