#403D33#403D33

#403D33 is a dark, near-neutral yellow. Relative luminance 0.047; OKLCH L 36.0% C 0.017 H 93.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#403D33
RGBrgb(64, 61, 51)
HSLhsl(46, 11%, 23%)
HSVhsv(46, 20%, 25%)
CMYKcmyk(0%, 4.7%, 20.3%, 74.9%)
CIE-LABlab(25.76, -0.75, 6.64)
CIE-LCHlch(25.76, 6.68, 96.41°)
OKLaboklab(35.98% -0.001 0.0171)
OKLCHoklch(35.98% 0.017 93.2)
XYZxyz(4.3806, 4.6666, 3.8013)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D33 #333640
analogous
#403733 #403D33 #3C4033
triadic
#403D33 #33403D #3D3340
tetradic
#403D33 #334037 #333640 #40333C
square
#403D33 #334037 #333640 #40333C
split-complementary
#403D33 #333C40 #373340
monochromatic
#11100E #1E1D18 #403D33 #625D4E #847E69

Accessibility & contrast

On white

10.86
#403D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D33
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D33#FFFFFF#000000##FFFFFF
##403D331.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C32
Deuteranopia (green-blind)
#403D33
Tritanopia (blue-blind)
#423B3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d33;
/* rgb */ color: rgb(64, 61, 51);
/* oklch */ color: oklch(36.0% 0.017 93.2);
Tailwind
colors: {
  custom: {
    50: '#75726a',
    500: '#403d33',
    950: '#000000',
  },
}
SCSS
$custom: #403d33;
$custom-light: #75726a;
$custom-dark: #000000;
JSON
{
  "hex": "#403d33",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 51
  },
  "hsl": {
    "h": 46.154,
    "s": 11.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.01715,
    "h": 93.2
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#403D33
secondary
#5F6370
accent
#82B474
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403D33

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

Preview Lab → · Contrast checker → · Palette generator →

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