#403B13#403B13

#403B13 is a dark, muted yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.058 H 102.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#403B13
RGBrgb(64, 59, 19)
HSLhsl(53, 54%, 16%)
HSVhsv(53, 70%, 25%)
CMYKcmyk(0%, 7.8%, 70.3%, 74.9%)
CIE-LABlab(24.53, -3.79, 24.89)
CIE-LCHlch(24.53, 25.18, 98.65°)
OKLaboklab(34.81% -0.0123 0.0569)
OKLCHoklch(34.81% 0.058 102.2)
XYZxyz(3.7960, 4.2651, 1.2393)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B13 #131840
analogous
#402513 #403B13 #2F4013
triadic
#403B13 #13403B #3B1340
tetradic
#403B13 #134025 #131840 #40132F
square
#403B13 #134025 #131840 #40132F
split-complementary
#403B13 #132F40 #251340
monochromatic
#181607 #181607 #403B13 #6F6721 #9E922F

Accessibility & contrast

On white

11.33
#403B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B13
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B13#FFFFFF#000000##FFFFFF
##403B131.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#453732
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b13;
/* rgb */ color: rgb(64, 59, 19);
/* oklch */ color: oklch(34.8% 0.058 102.2);
Tailwind
colors: {
  custom: {
    50: '#767053',
    500: '#403b13',
    950: '#000000',
  },
}
SCSS
$custom: #403b13;
$custom-light: #767053;
$custom-dark: #000000;
JSON
{
  "hex": "#403b13",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 19
  },
  "hsl": {
    "h": 53.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34809,
    "c": 0.05824,
    "h": 102.2
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#403B13
secondary
#363E79
accent
#5BDE4A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B13

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

Preview Lab → · Contrast checker → · Palette generator →

#403B13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva