#403208#403208

#403208 is a dark, muted yellow. Relative luminance 0.034; OKLCH L 32.4% C 0.060 H 89.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#403208
RGBrgb(64, 50, 8)
HSLhsl(45, 78%, 14%)
HSVhsv(45, 88%, 25%)
CMYKcmyk(0%, 21.9%, 87.5%, 74.9%)
CIE-LABlab(21.54, 1.29, 26.98)
CIE-LCHlch(21.54, 27.01, 87.25°)
OKLaboklab(32.41% 0.0007 0.0598)
OKLCHoklch(32.41% 0.06 89.4)
XYZxyz(3.2990, 3.3889, 0.7101)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403208 #081640
analogous
#401608 #403208 #324008
triadic
#403208 #084032 #320840
tetradic
#403208 #084016 #081640 #400832
square
#403208 #084016 #081640 #400832
split-complementary
#403208 #083240 #160840
monochromatic
#1B1503 #1B1503 #403208 #765D0F #AD8716

Accessibility & contrast

On white

12.52
#403208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#403208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403208
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403208#FFFFFF#000000##FFFFFF
##4032081.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393103
Deuteranopia (green-blind)
#3C350A
Tritanopia (blue-blind)
#462D2A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #403208;
/* rgb */ color: rgb(64, 50, 8);
/* oklch */ color: oklch(32.4% 0.060 89.4);
Tailwind
colors: {
  custom: {
    50: '#77694b',
    500: '#403208',
    950: '#000000',
  },
}
SCSS
$custom: #403208;
$custom-light: #77694b;
$custom-dark: #000000;
JSON
{
  "hex": "#403208",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 8
  },
  "hsl": {
    "h": 45,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.05977,
    "h": 89.4
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#403208
secondary
#253C7E
accent
#64F434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403208

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

Preview Lab → · Contrast checker → · Palette generator →

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