#403C22#403C22

#403C22 is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.3% C 0.041 H 100.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#403C22
RGBrgb(64, 60, 34)
HSLhsl(52, 31%, 19%)
HSVhsv(52, 47%, 25%)
CMYKcmyk(0%, 6.2%, 46.9%, 74.9%)
CIE-LABlab(25.07, -2.82, 16.68)
CIE-LCHlch(25.07, 16.92, 99.60°)
OKLaboklab(35.31% -0.0076 0.0407)
OKLCHoklch(35.31% 0.041 100.6)
XYZxyz(4.0190, 4.4373, 2.1578)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C22 #222640
analogous
#402D22 #403C22 #354022
triadic
#403C22 #22403C #3C2240
tetradic
#403C22 #22402D #222640 #402235
square
#403C22 #22402D #222640 #402235
split-complementary
#403C22 #223540 #2D2240
monochromatic
#14130B #18170D #403C22 #686137 #90874C

Accessibility & contrast

On white

11.13
#403C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C22
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C22#FFFFFF#000000##FFFFFF
##403C221.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A20
Deuteranopia (green-blind)
#423C23
Tritanopia (blue-blind)
#443936
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c22;
/* rgb */ color: rgb(64, 60, 34);
/* oklch */ color: oklch(35.3% 0.041 100.6);
Tailwind
colors: {
  custom: {
    50: '#75715d',
    500: '#403c22',
    950: '#000000',
  },
}
SCSS
$custom: #403c22;
$custom-light: #75715d;
$custom-dark: #000000;
JSON
{
  "hex": "#403c22",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 34
  },
  "hsl": {
    "h": 52,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35305,
    "c": 0.04136,
    "h": 100.6
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#403C22
secondary
#4B5073
accent
#6FC761
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080704
muted
#7B7A79

Preview Lab

Preview with #403C22

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

Preview Lab → · Contrast checker → · Palette generator →

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