#403C2A#403C2A

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

Color values

HEX#403C2A
RGBrgb(64, 60, 42)
HSLhsl(49, 21%, 21%)
HSVhsv(49, 34%, 25%)
CMYKcmyk(0%, 6.2%, 34.4%, 74.9%)
CIE-LABlab(25.23, -1.66, 11.78)
CIE-LCHlch(25.23, 11.90, 98.02°)
OKLaboklab(35.48% -0.0037 0.0296)
OKLCHoklch(35.48% 0.03 97.1)
XYZxyz(4.1482, 4.4890, 2.8380)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C2A #2A2E40
analogous
#40312A #403C2A #39402A
triadic
#403C2A #2A403C #3C2A40
tetradic
#403C2A #2A4031 #2A2E40 #402A39
square
#403C2A #2A4031 #2A2E40 #402A39
split-complementary
#403C2A #2A3940 #312A40
monochromatic
#12110C #1B1912 #403C2A #655F42 #8A815A

Accessibility & contrast

On white

11.07
#403C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C2A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C2A#FFFFFF#000000##FFFFFF
##403C2A1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#413C2B
Tritanopia (blue-blind)
#433937
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c2a;
/* rgb */ color: rgb(64, 60, 42);
/* oklch */ color: oklch(35.5% 0.030 97.1);
Tailwind
colors: {
  custom: {
    50: '#757163',
    500: '#403c2a',
    950: '#000000',
  },
}
SCSS
$custom: #403c2a;
$custom-light: #757163;
$custom-dark: #000000;
JSON
{
  "hex": "#403c2a",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 42
  },
  "hsl": {
    "h": 49.091,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35483,
    "c": 0.0298,
    "h": 97.1
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#403C2A
secondary
#555A71
accent
#7ABD6A
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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