#403C2E#403C2E

#403C2E is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.6% C 0.024 H 94.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#403C2E
RGBrgb(64, 60, 46)
HSLhsl(47, 16%, 22%)
HSVhsv(47, 28%, 25%)
CMYKcmyk(0%, 6.2%, 28.1%, 74.9%)
CIE-LABlab(25.32, -1.00, 9.30)
CIE-LCHlch(25.32, 9.35, 96.13°)
OKLaboklab(35.59% -0.0016 0.0237)
OKLCHoklch(35.59% 0.024 94)
XYZxyz(4.2234, 4.5191, 3.2340)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C2E #2E3240
analogous
#40332E #403C2E #3B402E
triadic
#403C2E #2E403C #3C2E40
tetradic
#403C2E #2E4033 #2E3240 #402E3B
square
#403C2E #2E4033 #2E3240 #402E3B
split-complementary
#403C2E #2E3B40 #332E40
monochromatic
#12110D #1C1B14 #403C2E #645D48 #877F61

Accessibility & contrast

On white

11.03
#403C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C2E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C2E#FFFFFF#000000##FFFFFF
##403C2E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#403D2E
Tritanopia (blue-blind)
#433A38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c2e;
/* rgb */ color: rgb(64, 60, 46);
/* oklch */ color: oklch(35.6% 0.024 94.0);
Tailwind
colors: {
  custom: {
    50: '#757166',
    500: '#403c2e',
    950: '#000000',
  },
}
SCSS
$custom: #403c2e;
$custom-light: #757166;
$custom-dark: #000000;
JSON
{
  "hex": "#403c2e",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 46
  },
  "hsl": {
    "h": 46.667,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35585,
    "c": 0.02372,
    "h": 94
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#403C2E
secondary
#595E70
accent
#7FB96F
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080706
muted
#7B7A7A

Preview Lab

Preview with #403C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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