#403E35#403E35

#403E35 is a dark, near-neutral yellow. Relative luminance 0.048; OKLCH L 36.3% C 0.015 H 96.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#403E35
RGBrgb(64, 62, 53)
HSLhsl(49, 9%, 23%)
HSVhsv(49, 17%, 25%)
CMYKcmyk(0%, 3.1%, 17.2%, 74.9%)
CIE-LABlab(26.13, -1.01, 5.85)
CIE-LCHlch(26.13, 5.93, 99.78°)
OKLaboklab(36.29% -0.0018 0.0151)
OKLCHoklch(36.29% 0.015 96.7)
XYZxyz(4.4795, 4.7923, 4.0565)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E35 #353740
analogous
#403835 #403E35 #3C4035
triadic
#403E35 #35403E #3E3540
tetradic
#403E35 #354038 #353740 #40353C
square
#403E35 #354038 #353740 #40353C
split-complementary
#403E35 #353C40 #383540
monochromatic
#11100E #1F1E19 #403E35 #615E51 #837F6C

Accessibility & contrast

On white

10.72
#403E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E35
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E35#FFFFFF#000000##FFFFFF
##403E351.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D34
Deuteranopia (green-blind)
#413E35
Tritanopia (blue-blind)
#423D3B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403e35;
/* rgb */ color: rgb(64, 62, 53);
/* oklch */ color: oklch(36.3% 0.015 96.7);
Tailwind
colors: {
  custom: {
    50: '#74736c',
    500: '#403e35',
    950: '#000000',
  },
}
SCSS
$custom: #403e35;
$custom-light: #74736c;
$custom-dark: #000000;
JSON
{
  "hex": "#403e35",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 53
  },
  "hsl": {
    "h": 49.091,
    "s": 9.402,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36288,
    "c": 0.01525,
    "h": 96.7
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#403E35
secondary
#62646F
accent
#81B275
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403E35

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

Preview Lab → · Contrast checker → · Palette generator →

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