#403E2B#403E2B

#403E2B is a dark, muted yellow. Relative luminance 0.047; OKLCH L 36.0% C 0.031 H 102.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#403E2B
RGBrgb(64, 62, 43)
HSLhsl(54, 20%, 21%)
HSVhsv(54, 33%, 25%)
CMYKcmyk(0%, 3.1%, 32.8%, 74.9%)
CIE-LABlab(25.89, -2.78, 12.03)
CIE-LCHlch(25.89, 12.35, 103.00°)
OKLaboklab(36.02% -0.0068 0.0302)
OKLCHoklch(36.02% 0.031 102.8)
XYZxyz(4.2730, 4.7097, 2.9690)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E2B #2B2D40
analogous
#40332B #403E2B #37402B
triadic
#403E2B #2B403E #3E2B40
tetradic
#403E2B #2B4033 #2B2D40 #402B37
square
#403E2B #2B4033 #2B2D40 #402B37
split-complementary
#403E2B #2B3740 #332B40
monochromatic
#12120C #1B1B12 #403E2B #656144 #89855C

Accessibility & contrast

On white

10.81
#403E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E2B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E2B#FFFFFF#000000##FFFFFF
##403E2B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2A
Deuteranopia (green-blind)
#423E2C
Tritanopia (blue-blind)
#433B39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e2b;
/* rgb */ color: rgb(64, 62, 43);
/* oklch */ color: oklch(36.0% 0.031 102.8);
Tailwind
colors: {
  custom: {
    50: '#757364',
    500: '#403e2b',
    950: '#000000',
  },
}
SCSS
$custom: #403e2b;
$custom-light: #757364;
$custom-dark: #000000;
JSON
{
  "hex": "#403e2b",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 43
  },
  "hsl": {
    "h": 54.286,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.36016,
    "c": 0.03096,
    "h": 102.8
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#403E2B
secondary
#565871
accent
#73BC6C
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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