#403D2E#403D2E

#403D2E is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.8% C 0.025 H 98.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#403D2E
RGBrgb(64, 61, 46)
HSLhsl(50, 16%, 22%)
HSVhsv(50, 28%, 25%)
CMYKcmyk(0%, 4.7%, 28.1%, 74.9%)
CIE-LABlab(25.64, -1.64, 9.74)
CIE-LCHlch(25.64, 9.88, 99.57°)
OKLaboklab(35.84% -0.0035 0.0247)
OKLCHoklch(35.84% 0.025 98)
XYZxyz(4.2762, 4.6248, 3.2516)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D2E #2E3140
analogous
#40342E #403D2E #3A402E
triadic
#403D2E #2E403D #3D2E40
tetradic
#403D2E #2E4034 #2E3140 #402E3A
square
#403D2E #2E4034 #2E3140 #402E3A
split-complementary
#403D2E #2E3A40 #342E40
monochromatic
#12110D #1C1B14 #403D2E #645F48 #878161

Accessibility & contrast

On white

10.91
#403D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D2E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D2E#FFFFFF#000000##FFFFFF
##403D2E1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2D
Deuteranopia (green-blind)
#413D2E
Tritanopia (blue-blind)
#433B39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d2e;
/* rgb */ color: rgb(64, 61, 46);
/* oklch */ color: oklch(35.8% 0.025 98.0);
Tailwind
colors: {
  custom: {
    50: '#757266',
    500: '#403d2e',
    950: '#000000',
  },
}
SCSS
$custom: #403d2e;
$custom-light: #757266;
$custom-dark: #000000;
JSON
{
  "hex": "#403d2e",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 46
  },
  "hsl": {
    "h": 50,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.02498,
    "h": 98
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#403D2E
secondary
#595D70
accent
#7BB96F
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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