#403F2B#403F2B

#403F2B is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.3% C 0.032 H 105.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#403F2B
RGBrgb(64, 63, 43)
HSLhsl(57, 20%, 21%)
HSVhsv(57, 33%, 25%)
CMYKcmyk(0%, 1.6%, 32.8%, 74.9%)
CIE-LABlab(26.21, -3.41, 12.46)
CIE-LCHlch(26.21, 12.92, 105.31°)
OKLaboklab(36.27% -0.0086 0.0312)
OKLCHoklch(36.27% 0.032 105.5)
XYZxyz(4.3279, 4.8195, 2.9873)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F2B #2B2C40
analogous
#40342B #403F2B #36402B
triadic
#403F2B #2B403F #3F2B40
tetradic
#403F2B #2B4034 #2B2C40 #402B36
square
#403F2B #2B4034 #2B2C40 #402B36
split-complementary
#403F2B #2B3640 #342B40
monochromatic
#12120C #1B1B12 #403F2B #656344 #89875C

Accessibility & contrast

On white

10.69
#403F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#403F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F2B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F2B#FFFFFF#000000##FFFFFF
##403F2B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2A
Deuteranopia (green-blind)
#433E2C
Tritanopia (blue-blind)
#433C3A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403f2b;
/* rgb */ color: rgb(64, 63, 43);
/* oklch */ color: oklch(36.3% 0.032 105.5);
Tailwind
colors: {
  custom: {
    50: '#757464',
    500: '#403f2b',
    950: '#000000',
  },
}
SCSS
$custom: #403f2b;
$custom-light: #757464;
$custom-dark: #000000;
JSON
{
  "hex": "#403f2b",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 43
  },
  "hsl": {
    "h": 57.143,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.0324,
    "h": 105.5
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#403F2B
secondary
#565771
accent
#6FBC6C
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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