#403D22#403D22

#403D22 is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.6% C 0.043 H 102.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#403D22
RGBrgb(64, 61, 34)
HSLhsl(54, 31%, 19%)
HSVhsv(54, 47%, 25%)
CMYKcmyk(0%, 4.7%, 46.9%, 74.9%)
CIE-LABlab(25.39, -3.46, 17.09)
CIE-LCHlch(25.39, 17.44, 101.43°)
OKLaboklab(35.56% -0.0094 0.0416)
OKLCHoklch(35.56% 0.043 102.8)
XYZxyz(4.0719, 4.5431, 2.1755)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D22 #222540
analogous
#402E22 #403D22 #344022
triadic
#403D22 #22403D #3D2240
tetradic
#403D22 #22402E #222540 #402234
square
#403D22 #22402E #222540 #402234
split-complementary
#403D22 #223440 #2E2240
monochromatic
#14130B #18170D #403D22 #686337 #90894C

Accessibility & contrast

On white

11.00
#403D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D22
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D22#FFFFFF#000000##FFFFFF
##403D221.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B20
Deuteranopia (green-blind)
#433D23
Tritanopia (blue-blind)
#443A36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d22;
/* rgb */ color: rgb(64, 61, 34);
/* oklch */ color: oklch(35.6% 0.043 102.8);
Tailwind
colors: {
  custom: {
    50: '#75725d',
    500: '#403d22',
    950: '#000000',
  },
}
SCSS
$custom: #403d22;
$custom-light: #75725d;
$custom-dark: #000000;
JSON
{
  "hex": "#403d22",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 34
  },
  "hsl": {
    "h": 54,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35562,
    "c": 0.04265,
    "h": 102.8
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#403D22
secondary
#4B4F73
accent
#6BC761
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080704
muted
#7B7A79

Preview Lab

Preview with #403D22

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

Preview Lab → · Contrast checker → · Palette generator →

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