#403813#403813

#403813 is a dark, muted yellow. Relative luminance 0.040; OKLCH L 34.0% C 0.055 H 97.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#403813
RGBrgb(64, 56, 19)
HSLhsl(49, 54%, 16%)
HSVhsv(49, 70%, 25%)
CMYKcmyk(0%, 12.5%, 70.3%, 74.9%)
CIE-LABlab(23.56, -1.87, 23.83)
CIE-LCHlch(23.56, 23.90, 94.50°)
OKLaboklab(34.04% -0.0068 0.0547)
OKLCHoklch(34.04% 0.055 97.1)
XYZxyz(3.6462, 3.9655, 1.1893)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403813 #131B40
analogous
#402213 #403813 #324013
triadic
#403813 #134038 #381340
tetradic
#403813 #134022 #131B40 #401332
square
#403813 #134022 #131B40 #401332
split-complementary
#403813 #133240 #221340
monochromatic
#181507 #181507 #403813 #6F6121 #9E8B2F

Accessibility & contrast

On white

11.71
#403813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403813
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403813#FFFFFF#000000##FFFFFF
##4038131.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370F
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#453430
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403813;
/* rgb */ color: rgb(64, 56, 19);
/* oklch */ color: oklch(34.0% 0.055 97.1);
Tailwind
colors: {
  custom: {
    50: '#776e52',
    500: '#403813',
    950: '#000000',
  },
}
SCSS
$custom: #403813;
$custom-light: #776e52;
$custom-dark: #000000;
JSON
{
  "hex": "#403813",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 19
  },
  "hsl": {
    "h": 49.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34038,
    "c": 0.05509,
    "h": 97.1
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#403813
secondary
#364279
accent
#64DE4A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403813

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

Preview Lab → · Contrast checker → · Palette generator →

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