#402A11#402A11

#402A11 is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.6% C 0.050 H 67.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#402A11
RGBrgb(64, 42, 17)
HSLhsl(32, 58%, 16%)
HSVhsv(32, 73%, 25%)
CMYKcmyk(0%, 34.4%, 73.4%, 74.9%)
CIE-LABlab(19.17, 7.19, 20.06)
CIE-LCHlch(19.17, 21.31, 70.28°)
OKLaboklab(30.58% 0.0193 0.0463)
OKLCHoklch(30.58% 0.05 67.4)
XYZxyz(3.0437, 2.7866, 0.9078)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A11 #112740
analogous
#401211 #402A11 #3E4011
triadic
#402A11 #11402A #2A1140
tetradic
#402A11 #114012 #112740 #40113E
square
#402A11 #114012 #112740 #40113E
split-complementary
#402A11 #113E40 #121140
monochromatic
#181006 #181006 #402A11 #704A1E #A1692B

Accessibility & contrast

On white

13.49
#402A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#402A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A11
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A11#FFFFFF#000000##FFFFFF
##402A111.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0F
Deuteranopia (green-blind)
#363111
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a11;
/* rgb */ color: rgb(64, 42, 17);
/* oklch */ color: oklch(30.6% 0.050 67.4);
Tailwind
colors: {
  custom: {
    50: '#776350',
    500: '#402a11',
    950: '#000000',
  },
}
SCSS
$custom: #402a11;
$custom-light: #776350;
$custom-dark: #000000;
JSON
{
  "hex": "#402a11",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 17
  },
  "hsl": {
    "h": 31.915,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30583,
    "c": 0.05015,
    "h": 67.4
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#402A11
secondary
#335479
accent
#8FE147
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402A11

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

Preview Lab → · Contrast checker → · Palette generator →

#402A11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva