#403C2D#403C2D

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

Color values

HEX#403C2D
RGBrgb(64, 60, 45)
HSLhsl(47, 17%, 21%)
HSVhsv(47, 30%, 25%)
CMYKcmyk(0%, 6.2%, 29.7%, 74.9%)
CIE-LABlab(25.29, -1.17, 9.92)
CIE-LCHlch(25.29, 9.99, 96.72°)
OKLaboklab(35.56% -0.0022 0.0252)
OKLCHoklch(35.56% 0.025 94.9)
XYZxyz(4.2039, 4.5113, 3.1314)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C2D #2D3140
analogous
#40332D #403C2D #3B402D
triadic
#403C2D #2D403C #3C2D40
tetradic
#403C2D #2D4033 #2D3140 #402D3B
square
#403C2D #2D4033 #2D3140 #402D3B
split-complementary
#403C2D #2D3B40 #332D40
monochromatic
#12110D #1C1A14 #403C2D #645E46 #887F60

Accessibility & contrast

On white

11.04
#403C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C2D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C2D#FFFFFF#000000##FFFFFF
##403C2D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c2d;
/* rgb */ color: rgb(64, 60, 45);
/* oklch */ color: oklch(35.6% 0.025 94.9);
Tailwind
colors: {
  custom: {
    50: '#757166',
    500: '#403c2d',
    950: '#000000',
  },
}
SCSS
$custom: #403c2d;
$custom-light: #757166;
$custom-dark: #000000;
JSON
{
  "hex": "#403c2d",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 45
  },
  "hsl": {
    "h": 47.368,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35559,
    "c": 0.02525,
    "h": 94.9
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#403C2D
secondary
#585D71
accent
#7EBA6E
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080705
muted
#7B7A7A

Preview Lab

Preview with #403C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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