#403C24#403C24

#403C24 is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.3% C 0.039 H 99.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#403C24
RGBrgb(64, 60, 36)
HSLhsl(51, 28%, 20%)
HSVhsv(51, 44%, 25%)
CMYKcmyk(0%, 6.2%, 43.8%, 74.9%)
CIE-LABlab(25.10, -2.55, 15.47)
CIE-LCHlch(25.10, 15.68, 99.37°)
OKLaboklab(35.35% -0.0067 0.038)
OKLCHoklch(35.35% 0.039 99.9)
XYZxyz(4.0487, 4.4492, 2.3142)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C24 #242840
analogous
#402E24 #403C24 #364024
triadic
#403C24 #24403C #3C2440
tetradic
#403C24 #24402E #242840 #402436
square
#403C24 #24402E #242840 #402436
split-complementary
#403C24 #243640 #2E2440
monochromatic
#14120B #19170E #403C24 #67613A #8E8550

Accessibility & contrast

On white

11.11
#403C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C24
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C24#FFFFFF#000000##FFFFFF
##403C241.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B22
Deuteranopia (green-blind)
#423C25
Tritanopia (blue-blind)
#443936
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c24;
/* rgb */ color: rgb(64, 60, 36);
/* oklch */ color: oklch(35.3% 0.039 99.9);
Tailwind
colors: {
  custom: {
    50: '#75715f',
    500: '#403c24',
    950: '#000000',
  },
}
SCSS
$custom: #403c24;
$custom-light: #75715f;
$custom-dark: #000000;
JSON
{
  "hex": "#403c24",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 36
  },
  "hsl": {
    "h": 51.429,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.03857,
    "h": 99.9
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#403C24
secondary
#4D5273
accent
#71C463
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080704
muted
#7B7A79

Preview Lab

Preview with #403C24

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

Preview Lab → · Contrast checker → · Palette generator →

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