#403E2D#403E2D

#403E2D is a dark, muted yellow. Relative luminance 0.047; OKLCH L 36.1% C 0.028 H 102.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#403E2D
RGBrgb(64, 62, 45)
HSLhsl(54, 17%, 21%)
HSVhsv(54, 30%, 25%)
CMYKcmyk(0%, 3.1%, 29.7%, 74.9%)
CIE-LABlab(25.94, -2.45, 10.80)
CIE-LCHlch(25.94, 11.07, 102.79°)
OKLaboklab(36.07% -0.0058 0.0273)
OKLCHoklch(36.07% 0.028 102.1)
XYZxyz(4.3106, 4.7248, 3.1670)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E2D #2D2F40
analogous
#40352D #403E2D #39402D
triadic
#403E2D #2D403E #3E2D40
tetradic
#403E2D #2D4035 #2D2F40 #402D39
square
#403E2D #2D4035 #2D2F40 #402D39
split-complementary
#403E2D #2D3940 #352D40
monochromatic
#12110D #1C1B14 #403E2D #646146 #888460

Accessibility & contrast

On white

10.80
#403E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#403E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E2D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E2D#FFFFFF#000000##FFFFFF
##403E2D1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2C
Deuteranopia (green-blind)
#423E2E
Tritanopia (blue-blind)
#433C39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e2d;
/* rgb */ color: rgb(64, 62, 45);
/* oklch */ color: oklch(36.1% 0.028 102.1);
Tailwind
colors: {
  custom: {
    50: '#757366',
    500: '#403e2d',
    950: '#000000',
  },
}
SCSS
$custom: #403e2d;
$custom-light: #757366;
$custom-dark: #000000;
JSON
{
  "hex": "#403e2d",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 45
  },
  "hsl": {
    "h": 53.684,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.0279,
    "h": 102.1
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#403E2D
secondary
#585B71
accent
#76BA6E
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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