#403E2C#403E2C

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

Color values

HEX#403E2C
RGBrgb(64, 62, 44)
HSLhsl(54, 19%, 21%)
HSVhsv(54, 31%, 25%)
CMYKcmyk(0%, 3.1%, 31.2%, 74.9%)
CIE-LABlab(25.91, -2.62, 11.41)
CIE-LCHlch(25.91, 11.71, 102.91°)
OKLaboklab(36.04% -0.0063 0.0287)
OKLCHoklch(36.04% 0.029 102.4)
XYZxyz(4.2916, 4.7172, 3.0668)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E2C #2C2E40
analogous
#40342C #403E2C #38402C
triadic
#403E2C #2C403E #3E2C40
tetradic
#403E2C #2C4034 #2C2E40 #402C38
square
#403E2C #2C4034 #2C2E40 #402C38
split-complementary
#403E2C #2C3840 #342C40
monochromatic
#12120C #1C1B13 #403E2C #646145 #89845E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403E2C#FFFFFF#000000##FFFFFF
##403E2C1.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)
#413D2B
Deuteranopia (green-blind)
#423E2D
Tritanopia (blue-blind)
#433C39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e2c;
/* rgb */ color: rgb(64, 62, 44);
/* oklch */ color: oklch(36.0% 0.029 102.4);
Tailwind
colors: {
  custom: {
    50: '#757365',
    500: '#403e2c',
    950: '#000000',
  },
}
SCSS
$custom: #403e2c;
$custom-light: #757365;
$custom-dark: #000000;
JSON
{
  "hex": "#403e2c",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 44
  },
  "hsl": {
    "h": 54,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3604,
    "c": 0.02943,
    "h": 102.4
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#403E2C
secondary
#575A71
accent
#74BB6D
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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