#403F36#403F36

#403F36 is a dark, near-neutral yellow. Relative luminance 0.049; OKLCH L 36.6% C 0.015 H 101.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#403F36
RGBrgb(64, 63, 54)
HSLhsl(54, 8%, 23%)
HSVhsv(54, 16%, 25%)
CMYKcmyk(0%, 1.6%, 15.6%, 74.9%)
CIE-LABlab(26.48, -1.46, 5.68)
CIE-LCHlch(26.48, 5.87, 104.37°)
OKLaboklab(36.57% -0.0031 0.0147)
OKLCHoklch(36.57% 0.015 101.9)
XYZxyz(4.5577, 4.9114, 4.1972)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F36 #363740
analogous
#403A36 #403F36 #3C4036
triadic
#403F36 #36403F #3F3640
tetradic
#403F36 #36403A #363740 #40363C
square
#403F36 #36403A #363740 #40363C
split-complementary
#403F36 #363C40 #3A3640
monochromatic
#11100E #1F1E1A #403F36 #616052 #82806E

Accessibility & contrast

On white

10.59
#403F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F36
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F36#FFFFFF#000000##FFFFFF
##403F361.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E35
Deuteranopia (green-blind)
#413F36
Tritanopia (blue-blind)
#423E3C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403f36;
/* rgb */ color: rgb(64, 63, 54);
/* oklch */ color: oklch(36.6% 0.015 101.9);
Tailwind
colors: {
  custom: {
    50: '#74746d',
    500: '#403f36',
    950: '#000000',
  },
}
SCSS
$custom: #403f36;
$custom-light: #74746d;
$custom-dark: #000000;
JSON
{
  "hex": "#403f36",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 54
  },
  "hsl": {
    "h": 54,
    "s": 8.475,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3657,
    "c": 0.01504,
    "h": 101.9
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#403F36
secondary
#63646F
accent
#7CB176
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #403F36

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

Preview Lab → · Contrast checker → · Palette generator →

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