#403712#403712

#403712 is a dark, muted yellow. Relative luminance 0.039; OKLCH L 33.8% C 0.055 H 95.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#403712
RGBrgb(64, 55, 18)
HSLhsl(48, 56%, 16%)
HSVhsv(48, 72%, 25%)
CMYKcmyk(0%, 14.1%, 71.9%, 74.9%)
CIE-LABlab(23.22, -1.31, 24.01)
CIE-LCHlch(23.22, 24.05, 93.12°)
OKLaboklab(33.77% -0.0054 0.0549)
OKLCHoklch(33.77% 0.055 95.6)
XYZxyz(3.5899, 3.8662, 1.1293)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403712 #121B40
analogous
#402012 #403712 #324012
triadic
#403712 #124037 #371240
tetradic
#403712 #124020 #121B40 #401232
square
#403712 #124020 #121B40 #401232
split-complementary
#403712 #123240 #201240
monochromatic
#181507 #181507 #403712 #70601F #A0892D

Accessibility & contrast

On white

11.84
#403712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403712
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403712#FFFFFF#000000##FFFFFF
##4037121.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360E
Deuteranopia (green-blind)
#3F3914
Tritanopia (blue-blind)
#45322F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403712;
/* rgb */ color: rgb(64, 55, 18);
/* oklch */ color: oklch(33.8% 0.055 95.6);
Tailwind
colors: {
  custom: {
    50: '#776d51',
    500: '#403712',
    950: '#000000',
  },
}
SCSS
$custom: #403712;
$custom-light: #776d51;
$custom-dark: #000000;
JSON
{
  "hex": "#403712",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 18
  },
  "hsl": {
    "h": 48.261,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.05514,
    "h": 95.6
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#403712
secondary
#354279
accent
#66DF48
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403712

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

Preview Lab → · Contrast checker → · Palette generator →

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