#403406#403406

#403406 is a dark, moderate yellow. Relative luminance 0.036; OKLCH L 32.9% C 0.063 H 93.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#403406
RGBrgb(64, 52, 6)
HSLhsl(48, 83%, 14%)
HSVhsv(48, 91%, 25%)
CMYKcmyk(0%, 18.8%, 90.6%, 74.9%)
CIE-LABlab(22.16, -0.12, 28.45)
CIE-LCHlch(22.16, 28.45, 90.25°)
OKLaboklab(32.89% -0.0037 0.0625)
OKLCHoklch(32.89% 0.063 93.4)
XYZxyz(3.3754, 3.5593, 0.6815)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403406 #061240
analogous
#401706 #403406 #2F4006
triadic
#403406 #064034 #340640
tetradic
#403406 #064017 #061240 #40062F
square
#403406 #064017 #061240 #40062F
split-complementary
#403406 #062F40 #170640
monochromatic
#1C1703 #1C1703 #403406 #78610B #B08F10

Accessibility & contrast

On white

12.27
#403406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#403406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403406
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403406#FFFFFF#000000##FFFFFF
##4034061.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3E3609
Tritanopia (blue-blind)
#462F2B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403406;
/* rgb */ color: rgb(64, 52, 6);
/* oklch */ color: oklch(32.9% 0.063 93.4);
Tailwind
colors: {
  custom: {
    50: '#786b4a',
    500: '#403406',
    950: '#000000',
  },
}
SCSS
$custom: #403406;
$custom-light: #786b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403406",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 6
  },
  "hsl": {
    "h": 47.586,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32894,
    "c": 0.06264,
    "h": 93.4
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#403406
secondary
#223580
accent
#59F92F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403406

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

Preview Lab → · Contrast checker → · Palette generator →

#403406 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva