#403F35#403F35

#403F35 is a dark, near-neutral yellow. Relative luminance 0.049; OKLCH L 36.5% C 0.017 H 102.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#403F35
RGBrgb(64, 63, 53)
HSLhsl(55, 9%, 23%)
HSVhsv(55, 17%, 25%)
CMYKcmyk(0%, 1.6%, 17.2%, 74.9%)
CIE-LABlab(26.45, -1.65, 6.30)
CIE-LCHlch(26.45, 6.51, 104.68°)
OKLaboklab(36.54% -0.0036 0.0163)
OKLCHoklch(36.54% 0.017 102.5)
XYZxyz(4.5344, 4.9021, 4.0748)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F35 #353640
analogous
#403935 #403F35 #3B4035
triadic
#403F35 #35403F #3F3540
tetradic
#403F35 #354039 #353640 #40353B
square
#403F35 #354039 #353640 #40353B
split-complementary
#403F35 #353B40 #393540
monochromatic
#11100E #1F1E19 #403F35 #616051 #83816C

Accessibility & contrast

On white

10.60
#403F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F35
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F35#FFFFFF#000000##FFFFFF
##403F351.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f35;
/* rgb */ color: rgb(64, 63, 53);
/* oklch */ color: oklch(36.5% 0.017 102.5);
Tailwind
colors: {
  custom: {
    50: '#74746c',
    500: '#403f35',
    950: '#000000',
  },
}
SCSS
$custom: #403f35;
$custom-light: #74746c;
$custom-dark: #000000;
JSON
{
  "hex": "#403f35",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 53
  },
  "hsl": {
    "h": 54.545,
    "s": 9.402,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.01666,
    "h": 102.5
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#403F35
secondary
#62636F
accent
#7BB275
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403F35

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

Preview Lab → · Contrast checker → · Palette generator →

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