#403704#403704

#403704 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.6% C 0.067 H 98.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#403704
RGBrgb(64, 55, 4)
HSLhsl(51, 88%, 13%)
HSVhsv(51, 94%, 25%)
CMYKcmyk(0%, 14.1%, 93.8%, 74.9%)
CIE-LABlab(23.11, -2.17, 30.26)
CIE-LCHlch(23.11, 30.33, 94.11°)
OKLaboklab(33.64% -0.0097 0.0658)
OKLCHoklch(33.64% 0.067 98.4)
XYZxyz(3.5026, 3.8313, 0.6699)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403704 #040D40
analogous
#401904 #403704 #2B4004
triadic
#403704 #044037 #370440
tetradic
#403704 #044019 #040D40 #40042B
square
#403704 #044019 #040D40 #40042B
split-complementary
#403704 #042B40 #190440
monochromatic
#1D1902 #1D1902 #403704 #7A6808 #B39A0B

Accessibility & contrast

On white

11.89
#403704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#403704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403704
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403704#FFFFFF#000000##FFFFFF
##4037041.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#403807
Tritanopia (blue-blind)
#46322E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403704;
/* rgb */ color: rgb(64, 55, 4);
/* oklch */ color: oklch(33.6% 0.067 98.4);
Tailwind
colors: {
  custom: {
    50: '#786d4a',
    500: '#403704',
    950: '#000000',
  },
}
SCSS
$custom: #403704;
$custom-light: #786d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403704",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 51,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3364,
    "c": 0.06653,
    "h": 98.4
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#403704
secondary
#1F2D81
accent
#49FE29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403704

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

Preview Lab → · Contrast checker → · Palette generator →

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