#403408#403408

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

Color values

HEX#403408
RGBrgb(64, 52, 8)
HSLhsl(47, 78%, 14%)
HSVhsv(47, 88%, 25%)
CMYKcmyk(0%, 18.8%, 87.5%, 74.9%)
CIE-LABlab(22.17, -0.01, 27.66)
CIE-LCHlch(22.17, 27.66, 90.03°)
OKLaboklab(32.91% -0.0031 0.061)
OKLCHoklch(32.91% 0.061 92.9)
XYZxyz(3.3864, 3.5637, 0.7392)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403408 #081440
analogous
#401808 #403408 #304008
triadic
#403408 #084034 #340840
tetradic
#403408 #084018 #081440 #400830
square
#403408 #084018 #081440 #400830
split-complementary
#403408 #083040 #180840
monochromatic
#1B1603 #1B1603 #403408 #76600F #AD8C16

Accessibility & contrast

On white

12.26
#403408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403408
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403408#FFFFFF#000000##FFFFFF
##4034081.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#462F2C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403408;
/* rgb */ color: rgb(64, 52, 8);
/* oklch */ color: oklch(32.9% 0.061 92.9);
Tailwind
colors: {
  custom: {
    50: '#776b4b',
    500: '#403408',
    950: '#000000',
  },
}
SCSS
$custom: #403408;
$custom-light: #776b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403408",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 47.143,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.06111,
    "h": 92.9
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#403408
secondary
#25387E
accent
#5DF434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403408

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

Preview Lab → · Contrast checker → · Palette generator →

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