#402011#402011

#402011 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.4% C 0.055 H 45.0°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#402011
RGBrgb(64, 32, 17)
HSLhsl(19, 58%, 16%)
HSVhsv(19, 73%, 25%)
CMYKcmyk(0%, 50%, 73.4%, 74.9%)
CIE-LABlab(16.32, 13.84, 16.65)
CIE-LCHlch(16.32, 21.65, 50.26°)
OKLaboklab(28.38% 0.0392 0.0392)
OKLCHoklch(28.38% 0.055 45)
XYZxyz(2.7323, 2.1638, 0.8040)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402011 #113140
analogous
#401119 #402011 #403711
triadic
#402011 #114020 #201140
tetradic
#402011 #194011 #113140 #371140
square
#402011 #194011 #113140 #371140
split-complementary
#402011 #114037 #111940
monochromatic
#180C06 #180C06 #402011 #70381E #A1502B

Accessibility & contrast

On white

14.66
#402011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#402011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402011
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402011#FFFFFF#000000##FFFFFF
##4020111.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292410
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#471A1C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #402011;
/* rgb */ color: rgb(64, 32, 17);
/* oklch */ color: oklch(28.4% 0.055 45.0);
Tailwind
colors: {
  custom: {
    50: '#785c4f',
    500: '#402011',
    950: '#000000',
  },
}
SCSS
$custom: #402011;
$custom-light: #785c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#402011",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 17
  },
  "hsl": {
    "h": 19.149,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28383,
    "c": 0.05542,
    "h": 45
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#402011
secondary
#336379
accent
#B0E147
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402011

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

Preview Lab → · Contrast checker → · Palette generator →

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