#403911#403911

#403911 is a dark, muted yellow. Relative luminance 0.041; OKLCH L 34.3% C 0.058 H 99.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#403911
RGBrgb(64, 57, 17)
HSLhsl(51, 58%, 16%)
HSVhsv(51, 73%, 25%)
CMYKcmyk(0%, 10.9%, 73.4%, 74.9%)
CIE-LABlab(23.86, -2.67, 25.23)
CIE-LCHlch(23.86, 25.37, 96.05°)
OKLaboklab(34.27% -0.0094 0.0573)
OKLCHoklch(34.27% 0.058 99.3)
XYZxyz(3.6788, 4.0569, 1.1195)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403911 #111840
analogous
#402111 #403911 #2F4011
triadic
#403911 #114039 #391140
tetradic
#403911 #114021 #111840 #40112F
square
#403911 #114021 #111840 #40112F
split-complementary
#403911 #112F40 #211140
monochromatic
#181606 #181606 #403911 #70641E #A18F2B

Accessibility & contrast

On white

11.59
#403911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#403911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403911
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403911#FFFFFF#000000##FFFFFF
##4039111.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370C
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#453431
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403911;
/* rgb */ color: rgb(64, 57, 17);
/* oklch */ color: oklch(34.3% 0.058 99.3);
Tailwind
colors: {
  custom: {
    50: '#776f51',
    500: '#403911',
    950: '#000000',
  },
}
SCSS
$custom: #403911;
$custom-light: #776f51;
$custom-dark: #000000;
JSON
{
  "hex": "#403911",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 17
  },
  "hsl": {
    "h": 51.064,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.05806,
    "h": 99.3
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#403911
secondary
#333E79
accent
#5EE147
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403911

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

Preview Lab → · Contrast checker → · Palette generator →

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