#403804#403804

#403804 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.9% C 0.067 H 99.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#403804
RGBrgb(64, 56, 4)
HSLhsl(52, 88%, 13%)
HSVhsv(52, 94%, 25%)
CMYKcmyk(0%, 12.5%, 93.8%, 74.9%)
CIE-LABlab(23.43, -2.81, 30.59)
CIE-LCHlch(23.43, 30.71, 95.25°)
OKLaboklab(33.9% -0.0115 0.0664)
OKLCHoklch(33.9% 0.067 99.9)
XYZxyz(3.5506, 3.9273, 0.6859)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403804 #040C40
analogous
#401A04 #403804 #2A4004
triadic
#403804 #044038 #380440
tetradic
#403804 #04401A #040C40 #40042A
square
#403804 #04401A #040C40 #40042A
split-complementary
#403804 #042A40 #1A0440
monochromatic
#1D1902 #1D1902 #403804 #7A6A08 #B39D0B

Accessibility & contrast

On white

11.76
#403804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403804
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403804#FFFFFF#000000##FFFFFF
##4038041.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#413907
Tritanopia (blue-blind)
#46332F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403804;
/* rgb */ color: rgb(64, 56, 4);
/* oklch */ color: oklch(33.9% 0.067 99.9);
Tailwind
colors: {
  custom: {
    50: '#786e4a',
    500: '#403804',
    950: '#000000',
  },
}
SCSS
$custom: #403804;
$custom-light: #786e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403804",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 4
  },
  "hsl": {
    "h": 52,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.0674,
    "h": 99.9
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#403804
secondary
#1F2C81
accent
#46FE29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403804

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

Preview Lab → · Contrast checker → · Palette generator →

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