#403E33#403E33

#403E33 is a dark, near-neutral yellow. Relative luminance 0.048; OKLCH L 36.2% C 0.018 H 98.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#403E33
RGBrgb(64, 62, 51)
HSLhsl(51, 11%, 23%)
HSVhsv(51, 20%, 25%)
CMYKcmyk(0%, 3.1%, 20.3%, 74.9%)
CIE-LABlab(26.08, -1.39, 7.09)
CIE-LCHlch(26.08, 7.22, 101.08°)
OKLaboklab(36.23% -0.0028 0.0182)
OKLCHoklch(36.23% 0.018 98.7)
XYZxyz(4.4345, 4.7743, 3.8193)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E33 #333540
analogous
#403733 #403E33 #3B4033
triadic
#403E33 #33403E #3E3340
tetradic
#403E33 #334037 #333540 #40333B
square
#403E33 #334037 #333540 #40333B
split-complementary
#403E33 #333B40 #373340
monochromatic
#11100E #1E1D18 #403E33 #625F4E #848069

Accessibility & contrast

On white

10.74
#403E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#403E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E33
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E33#FFFFFF#000000##FFFFFF
##403E331.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D32
Deuteranopia (green-blind)
#413E33
Tritanopia (blue-blind)
#423C3B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403e33;
/* rgb */ color: rgb(64, 62, 51);
/* oklch */ color: oklch(36.2% 0.018 98.7);
Tailwind
colors: {
  custom: {
    50: '#75736a',
    500: '#403e33',
    950: '#000000',
  },
}
SCSS
$custom: #403e33;
$custom-light: #75736a;
$custom-dark: #000000;
JSON
{
  "hex": "#403e33",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 51
  },
  "hsl": {
    "h": 50.769,
    "s": 11.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.01845,
    "h": 98.7
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#403E33
secondary
#5F6270
accent
#7EB474
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403E33

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

Preview Lab → · Contrast checker → · Palette generator →

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