#403A20#403A20

#403A20 is a dark, muted yellow. Relative luminance 0.042; OKLCH L 34.8% C 0.042 H 96.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#403A20
RGBrgb(64, 58, 32)
HSLhsl(49, 33%, 19%)
HSVhsv(49, 50%, 25%)
CMYKcmyk(0%, 9.4%, 50%, 74.9%)
CIE-LABlab(24.39, -1.80, 17.08)
CIE-LCHlch(24.39, 17.17, 96.02°)
OKLaboklab(34.76% -0.0049 0.0414)
OKLCHoklch(34.76% 0.042 96.7)
XYZxyz(3.8882, 4.2205, 1.9760)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A20 #202640
analogous
#402A20 #403A20 #364020
triadic
#403A20 #20403A #3A2040
tetradic
#403A20 #20402A #202640 #402036
square
#403A20 #20402A #202640 #402036
split-complementary
#403A20 #203640 #2A2040
monochromatic
#14120A #17150C #403A20 #695F34 #928449

Accessibility & contrast

On white

11.39
#403A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#403A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A20
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A20#FFFFFF#000000##FFFFFF
##403A201.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#403B21
Tritanopia (blue-blind)
#443634
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403a20;
/* rgb */ color: rgb(64, 58, 32);
/* oklch */ color: oklch(34.8% 0.042 96.7);
Tailwind
colors: {
  custom: {
    50: '#76705c',
    500: '#403a20',
    950: '#000000',
  },
}
SCSS
$custom: #403a20;
$custom-light: #76705c;
$custom-dark: #000000;
JSON
{
  "hex": "#403a20",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 32
  },
  "hsl": {
    "h": 48.75,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34756,
    "c": 0.0417,
    "h": 96.7
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#403A20
secondary
#485074
accent
#72C95E
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080704
muted
#7B7A79

Preview Lab

Preview with #403A20

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

Preview Lab → · Contrast checker → · Palette generator →

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