#403C2F#403C2F

#403C2F is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.6% C 0.022 H 93.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#403C2F
RGBrgb(64, 60, 47)
HSLhsl(46, 15%, 22%)
HSVhsv(46, 27%, 25%)
CMYKcmyk(0%, 6.2%, 26.6%, 74.9%)
CIE-LABlab(25.34, -0.82, 8.68)
CIE-LCHlch(25.34, 8.72, 95.43°)
OKLaboklab(35.61% -0.0011 0.0222)
OKLCHoklch(35.61% 0.022 93)
XYZxyz(4.2433, 4.5270, 3.3390)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C2F #2F3340
analogous
#40342F #403C2F #3C402F
triadic
#403C2F #2F403C #3C2F40
tetradic
#403C2F #2F4034 #2F3340 #402F3C
square
#403C2F #2F4034 #2F3340 #402F3C
split-complementary
#403C2F #2F3C40 #342F40
monochromatic
#12110D #1D1B15 #403C2F #635D49 #877E63

Accessibility & contrast

On white

11.02
#403C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C2F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C2F#FFFFFF#000000##FFFFFF
##403C2F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2E
Deuteranopia (green-blind)
#403D2F
Tritanopia (blue-blind)
#433A38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c2f;
/* rgb */ color: rgb(64, 60, 47);
/* oklch */ color: oklch(35.6% 0.022 93.0);
Tailwind
colors: {
  custom: {
    50: '#757167',
    500: '#403c2f',
    950: '#000000',
  },
}
SCSS
$custom: #403c2f;
$custom-light: #757167;
$custom-dark: #000000;
JSON
{
  "hex": "#403c2f",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 47
  },
  "hsl": {
    "h": 45.882,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.02218,
    "h": 93
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#403C2F
secondary
#5B6070
accent
#81B870
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080706
muted
#7B7A7A

Preview Lab

Preview with #403C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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