#403E2A#403E2A

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

Color values

HEX#403E2A
RGBrgb(64, 62, 42)
HSLhsl(55, 21%, 21%)
HSVhsv(55, 34%, 25%)
CMYKcmyk(0%, 3.1%, 34.4%, 74.9%)
CIE-LABlab(25.87, -2.94, 12.64)
CIE-LCHlch(25.87, 12.98, 103.08°)
OKLaboklab(35.99% -0.0073 0.0316)
OKLCHoklch(35.99% 0.032 103.1)
XYZxyz(4.2549, 4.7025, 2.8736)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E2A #2A2C40
analogous
#40332A #403E2A #37402A
triadic
#403E2A #2A403E #3E2A40
tetradic
#403E2A #2A4033 #2A2C40 #402A37
square
#403E2A #2A4033 #2A2C40 #402A37
split-complementary
#403E2A #2A3740 #332A40
monochromatic
#12120C #1B1A12 #403E2A #656242 #8A865A

Accessibility & contrast

On white

10.82
#403E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E2A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E2A#FFFFFF#000000##FFFFFF
##403E2A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D29
Deuteranopia (green-blind)
#423E2B
Tritanopia (blue-blind)
#433B39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e2a;
/* rgb */ color: rgb(64, 62, 42);
/* oklch */ color: oklch(36.0% 0.032 103.1);
Tailwind
colors: {
  custom: {
    50: '#757363',
    500: '#403e2a',
    950: '#000000',
  },
}
SCSS
$custom: #403e2a;
$custom-light: #757363;
$custom-dark: #000000;
JSON
{
  "hex": "#403e2a",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 42
  },
  "hsl": {
    "h": 54.545,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35992,
    "c": 0.03247,
    "h": 103.1
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#403E2A
secondary
#555771
accent
#72BD6A
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #403E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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