#402A0B#402A0B

#402A0B is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.5% C 0.055 H 72.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#402A0B
RGBrgb(64, 42, 11)
HSLhsl(35, 71%, 15%)
HSVhsv(35, 83%, 25%)
CMYKcmyk(0%, 34.4%, 82.8%, 74.9%)
CIE-LABlab(19.10, 6.77, 23.02)
CIE-LCHlch(19.10, 23.99, 73.60°)
OKLaboklab(30.51% 0.017 0.0522)
OKLCHoklch(30.51% 0.055 72)
XYZxyz(3.0029, 2.7703, 0.6931)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A0B #0B2140
analogous
#400F0B #402A0B #3C400B
triadic
#402A0B #0B402A #2A0B40
tetradic
#402A0B #0B400F #0B2140 #400B3C
square
#402A0B #0B400F #0B2140 #400B3C
split-complementary
#402A0B #0B3C40 #0F0B40
monochromatic
#1A1104 #1A1104 #402A0B #744C14 #A86F1D

Accessibility & contrast

On white

13.51
#402A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A0B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A0B#FFFFFF#000000##FFFFFF
##402A0B1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B07
Deuteranopia (green-blind)
#37300C
Tritanopia (blue-blind)
#462424
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a0b;
/* rgb */ color: rgb(64, 42, 11);
/* oklch */ color: oklch(30.5% 0.055 72.0);
Tailwind
colors: {
  custom: {
    50: '#78634c',
    500: '#402a0b',
    950: '#000000',
  },
}
SCSS
$custom: #402a0b;
$custom-light: #78634c;
$custom-dark: #000000;
JSON
{
  "hex": "#402a0b",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 35.094,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.05494,
    "h": 72
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#402A0B
secondary
#2A4C7D
accent
#85ED3A
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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