#403C20#403C20

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

Color values

HEX#403C20
RGBrgb(64, 60, 32)
HSLhsl(53, 33%, 19%)
HSVhsv(53, 50%, 25%)
CMYKcmyk(0%, 6.2%, 50%, 74.9%)
CIE-LABlab(25.03, -3.08, 17.89)
CIE-LCHlch(25.03, 18.15, 99.77°)
OKLaboklab(35.27% -0.0086 0.0432)
OKLCHoklch(35.27% 0.044 101.2)
XYZxyz(3.9910, 4.4261, 2.0103)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C20 #202440
analogous
#402C20 #403C20 #344020
triadic
#403C20 #20403C #3C2040
tetradic
#403C20 #20402C #202440 #402034
square
#403C20 #20402C #202440 #402034
split-complementary
#403C20 #203440 #2C2040
monochromatic
#14130A #17160C #403C20 #696234 #928949

Accessibility & contrast

On white

11.14
#403C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C20
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C20#FFFFFF#000000##FFFFFF
##403C201.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1E
Deuteranopia (green-blind)
#423C21
Tritanopia (blue-blind)
#443835
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c20;
/* rgb */ color: rgb(64, 60, 32);
/* oklch */ color: oklch(35.3% 0.044 101.2);
Tailwind
colors: {
  custom: {
    50: '#76715c',
    500: '#403c20',
    950: '#000000',
  },
}
SCSS
$custom: #403c20;
$custom-light: #76715c;
$custom-dark: #000000;
JSON
{
  "hex": "#403c20",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 32
  },
  "hsl": {
    "h": 52.5,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.04407,
    "h": 101.2
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#403C20
secondary
#484D74
accent
#6CC95E
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080704
muted
#7B7A79

Preview Lab

Preview with #403C20

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

Preview Lab → · Contrast checker → · Palette generator →

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