#403C2C#403C2C

#403C2C is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.5% C 0.027 H 95.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#403C2C
RGBrgb(64, 60, 44)
HSLhsl(48, 19%, 21%)
HSVhsv(48, 31%, 25%)
CMYKcmyk(0%, 6.2%, 31.2%, 74.9%)
CIE-LABlab(25.27, -1.33, 10.54)
CIE-LCHlch(25.27, 10.63, 97.22°)
OKLaboklab(35.53% -0.0027 0.0266)
OKLCHoklch(35.53% 0.027 95.7)
XYZxyz(4.1849, 4.5036, 3.0312)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C2C #2C3040
analogous
#40322C #403C2C #3A402C
triadic
#403C2C #2C403C #3C2C40
tetradic
#403C2C #2C4032 #2C3040 #402C3A
square
#403C2C #2C4032 #2C3040 #402C3A
split-complementary
#403C2C #2C3A40 #322C40
monochromatic
#12110C #1C1A13 #403C2C #645E45 #89805E

Accessibility & contrast

On white

11.05
#403C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C2C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C2C#FFFFFF#000000##FFFFFF
##403C2C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c2c;
/* rgb */ color: rgb(64, 60, 44);
/* oklch */ color: oklch(35.5% 0.027 95.7);
Tailwind
colors: {
  custom: {
    50: '#757165',
    500: '#403c2c',
    950: '#000000',
  },
}
SCSS
$custom: #403c2c;
$custom-light: #757165;
$custom-dark: #000000;
JSON
{
  "hex": "#403c2c",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 44
  },
  "hsl": {
    "h": 48,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.02677,
    "h": 95.7
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#403C2C
secondary
#575C71
accent
#7CBB6D
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080705
muted
#7B7A7A

Preview Lab

Preview with #403C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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