#403C28#403C28

#403C28 is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.4% C 0.033 H 98.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#403C28
RGBrgb(64, 60, 40)
HSLhsl(50, 23%, 20%)
HSVhsv(50, 38%, 25%)
CMYKcmyk(0%, 6.2%, 37.5%, 74.9%)
CIE-LABlab(25.18, -1.97, 13.02)
CIE-LCHlch(25.18, 13.16, 98.61°)
OKLaboklab(35.44% -0.0047 0.0325)
OKLCHoklch(35.44% 0.033 98.2)
XYZxyz(4.1133, 4.4750, 2.6542)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C28 #282C40
analogous
#403028 #403C28 #384028
triadic
#403C28 #28403C #3C2840
tetradic
#403C28 #284030 #282C40 #402838
square
#403C28 #284030 #282C40 #402838
split-complementary
#403C28 #283840 #302840
monochromatic
#13120C #1A1910 #403C28 #665F40 #8B8357

Accessibility & contrast

On white

11.08
#403C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C28
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C28#FFFFFF#000000##FFFFFF
##403C281.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#413C29
Tritanopia (blue-blind)
#443937
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c28;
/* rgb */ color: rgb(64, 60, 40);
/* oklch */ color: oklch(35.4% 0.033 98.2);
Tailwind
colors: {
  custom: {
    50: '#757162',
    500: '#403c28',
    950: '#000000',
  },
}
SCSS
$custom: #403c28;
$custom-light: #757162;
$custom-dark: #000000;
JSON
{
  "hex": "#403c28",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 40
  },
  "hsl": {
    "h": 50,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.03279,
    "h": 98.2
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#403C28
secondary
#525772
accent
#77C068
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403C28

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

Preview Lab → · Contrast checker → · Palette generator →

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