#403820#403820

#403820 is a dark, muted yellow. Relative luminance 0.040; OKLCH L 34.2% C 0.040 H 91.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#403820
RGBrgb(64, 56, 32)
HSLhsl(45, 33%, 19%)
HSVhsv(45, 50%, 25%)
CMYKcmyk(0%, 12.5%, 50%, 74.9%)
CIE-LABlab(23.75, -0.51, 16.26)
CIE-LCHlch(23.75, 16.27, 91.81°)
OKLaboklab(34.25% -0.0011 0.0396)
OKLCHoklch(34.25% 0.04 91.7)
XYZxyz(3.7893, 4.0228, 1.9431)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403820 #202840
analogous
#402820 #403820 #384020
triadic
#403820 #204038 #382040
tetradic
#403820 #204028 #202840 #402038
square
#403820 #204028 #202840 #402038
split-complementary
#403820 #203840 #282040
monochromatic
#14120A #17140C #403820 #695C34 #927F49

Accessibility & contrast

On white

11.64
#403820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#403820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403820
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403820#FFFFFF#000000##FFFFFF
##4038201.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#3F3A21
Tritanopia (blue-blind)
#453432
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403820;
/* rgb */ color: rgb(64, 56, 32);
/* oklch */ color: oklch(34.2% 0.040 91.7);
Tailwind
colors: {
  custom: {
    50: '#766e5c',
    500: '#403820',
    950: '#000000',
  },
}
SCSS
$custom: #403820;
$custom-light: #766e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#403820",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 32
  },
  "hsl": {
    "h": 45,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34249,
    "c": 0.03959,
    "h": 91.7
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#403820
secondary
#485374
accent
#79C95E
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080704
muted
#7B7A79

Preview Lab

Preview with #403820

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

Preview Lab → · Contrast checker → · Palette generator →

#403820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva