#403C19#403C19

#403C19 is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.1% C 0.053 H 102.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#403C19
RGBrgb(64, 60, 25)
HSLhsl(54, 44%, 17%)
HSVhsv(54, 61%, 25%)
CMYKcmyk(0%, 6.2%, 60.9%, 74.9%)
CIE-LABlab(24.93, -3.87, 21.97)
CIE-LCHlch(24.93, 22.31, 99.99°)
OKLaboklab(35.15% -0.0117 0.0516)
OKLCHoklch(35.15% 0.053 102.8)
XYZxyz(3.9058, 4.3920, 1.5615)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C19 #191D40
analogous
#402819 #403C19 #314019
triadic
#403C19 #19403C #3C1940
tetradic
#403C19 #194028 #191D40 #401931
square
#403C19 #194028 #191D40 #401931
split-complementary
#403C19 #193140 #281940
monochromatic
#161509 #161509 #403C19 #6C652A #988F3B

Accessibility & contrast

On white

11.18
#403C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#403C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C19
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C19#FFFFFF#000000##FFFFFF
##403C191.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#433C1B
Tritanopia (blue-blind)
#453834
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c19;
/* rgb */ color: rgb(64, 60, 25);
/* oklch */ color: oklch(35.1% 0.053 102.8);
Tailwind
colors: {
  custom: {
    50: '#767157',
    500: '#403c19',
    950: '#000000',
  },
}
SCSS
$custom: #403c19;
$custom-light: #767157;
$custom-dark: #000000;
JSON
{
  "hex": "#403c19",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 25
  },
  "hsl": {
    "h": 53.846,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.05288,
    "h": 102.8
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#403C19
secondary
#3F4476
accent
#61D454
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080703
muted
#7B7A78

Preview Lab

Preview with #403C19

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

Preview Lab → · Contrast checker → · Palette generator →

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