#403708#403708

#403708 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.7% C 0.064 H 97.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#403708
RGBrgb(64, 55, 8)
HSLhsl(50, 78%, 14%)
HSVhsv(50, 88%, 25%)
CMYKcmyk(0%, 14.1%, 87.5%, 74.9%)
CIE-LABlab(23.14, -1.95, 28.66)
CIE-LCHlch(23.14, 28.72, 93.90°)
OKLaboklab(33.67% -0.0086 0.0629)
OKLCHoklch(33.67% 0.064 97.8)
XYZxyz(3.5246, 3.8401, 0.7852)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403708 #081140
analogous
#401B08 #403708 #2D4008
triadic
#403708 #084037 #370840
tetradic
#403708 #08401B #081140 #40082D
square
#403708 #08401B #081140 #40082D
split-complementary
#403708 #082D40 #1B0840
monochromatic
#1B1703 #1B1703 #403708 #76660F #AD9516

Accessibility & contrast

On white

11.88
#403708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403708
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403708#FFFFFF#000000##FFFFFF
##4037081.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3502
Deuteranopia (green-blind)
#40380B
Tritanopia (blue-blind)
#46322E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403708;
/* rgb */ color: rgb(64, 55, 8);
/* oklch */ color: oklch(33.7% 0.064 97.8);
Tailwind
colors: {
  custom: {
    50: '#776d4c',
    500: '#403708',
    950: '#000000',
  },
}
SCSS
$custom: #403708;
$custom-light: #776d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#403708",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 50.357,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33673,
    "c": 0.06351,
    "h": 97.8
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#403708
secondary
#25347E
accent
#52F434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403708

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

Preview Lab → · Contrast checker → · Palette generator →

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