#403F32#403F32

#403F32 is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.5% C 0.021 H 103.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#403F32
RGBrgb(64, 63, 50)
HSLhsl(56, 12%, 22%)
HSVhsv(56, 22%, 25%)
CMYKcmyk(0%, 1.6%, 21.9%, 74.9%)
CIE-LABlab(26.38, -2.21, 8.15)
CIE-LCHlch(26.38, 8.44, 105.18°)
OKLaboklab(36.45% -0.0051 0.0209)
OKLCHoklch(36.45% 0.022 103.8)
XYZxyz(4.4676, 4.8753, 3.7227)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F32 #323340
analogous
#403832 #403F32 #3A4032
triadic
#403F32 #32403F #3F3240
tetradic
#403F32 #324038 #323340 #40323A
square
#403F32 #324038 #323340 #40323A
split-complementary
#403F32 #323A40 #383240
monochromatic
#11110D #1E1D17 #403F32 #62614D #858368

Accessibility & contrast

On white

10.63
#403F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#403F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F32
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F32#FFFFFF#000000##FFFFFF
##403F321.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E31
Deuteranopia (green-blind)
#423F32
Tritanopia (blue-blind)
#423D3B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403f32;
/* rgb */ color: rgb(64, 63, 50);
/* oklch */ color: oklch(36.5% 0.021 103.8);
Tailwind
colors: {
  custom: {
    50: '#757469',
    500: '#403f32',
    950: '#000000',
  },
}
SCSS
$custom: #403f32;
$custom-light: #757469;
$custom-dark: #000000;
JSON
{
  "hex": "#403f32",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 50
  },
  "hsl": {
    "h": 55.714,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.36453,
    "c": 0.0215,
    "h": 103.8
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#403F32
secondary
#5E5F70
accent
#77B573
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403F32

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

Preview Lab → · Contrast checker → · Palette generator →

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