#403913#403913

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

Color values

HEX#403913
RGBrgb(64, 57, 19)
HSLhsl(51, 54%, 16%)
HSVhsv(51, 70%, 25%)
CMYKcmyk(0%, 10.9%, 70.3%, 74.9%)
CIE-LABlab(23.88, -2.51, 24.18)
CIE-LCHlch(23.88, 24.31, 95.93°)
OKLaboklab(34.29% -0.0087 0.0554)
OKLCHoklch(34.29% 0.056 98.9)
XYZxyz(3.6952, 4.0634, 1.2056)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403913 #131A40
analogous
#402313 #403913 #314013
triadic
#403913 #134039 #391340
tetradic
#403913 #134023 #131A40 #401331
square
#403913 #134023 #131A40 #401331
split-complementary
#403913 #133140 #231340
monochromatic
#181507 #181507 #403913 #6F6321 #9E8D2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403913#FFFFFF#000000##FFFFFF
##4039131.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)
#3F370F
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#453531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403913;
/* rgb */ color: rgb(64, 57, 19);
/* oklch */ color: oklch(34.3% 0.056 98.9);
Tailwind
colors: {
  custom: {
    50: '#776f52',
    500: '#403913',
    950: '#000000',
  },
}
SCSS
$custom: #403913;
$custom-light: #776f52;
$custom-dark: #000000;
JSON
{
  "hex": "#403913",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 19
  },
  "hsl": {
    "h": 50.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34294,
    "c": 0.0561,
    "h": 98.9
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#403913
secondary
#364179
accent
#61DE4A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403913

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

Preview Lab → · Contrast checker → · Palette generator →

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