#402B0A#402B0A

#402B0A is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.7% C 0.056 H 74.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#402B0A
RGBrgb(64, 43, 10)
HSLhsl(37, 73%, 15%)
HSVhsv(37, 84%, 25%)
CMYKcmyk(0%, 32.8%, 84.4%, 74.9%)
CIE-LABlab(19.39, 6.05, 23.77)
CIE-LCHlch(19.39, 24.53, 75.72°)
OKLaboklab(30.73% 0.0147 0.0537)
OKLCHoklch(30.73% 0.056 74.7)
XYZxyz(3.0332, 2.8399, 0.6755)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B0A #0A1F40
analogous
#40100A #402B0A #3A400A
triadic
#402B0A #0A402B #2B0A40
tetradic
#402B0A #0A4010 #0A1F40 #400A3A
square
#402B0A #0A4010 #0A1F40 #400A3A
split-complementary
#402B0A #0A3A40 #100A40
monochromatic
#1A1204 #1A1204 #402B0A #754F12 #AA721B

Accessibility & contrast

On white

13.39
#402B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B0A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B0A#FFFFFF#000000##FFFFFF
##402B0A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#38310B
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b0a;
/* rgb */ color: rgb(64, 43, 10);
/* oklch */ color: oklch(30.7% 0.056 74.7);
Tailwind
colors: {
  custom: {
    50: '#78644c',
    500: '#402b0a',
    950: '#000000',
  },
}
SCSS
$custom: #402b0a;
$custom-light: #78644c;
$custom-dark: #000000;
JSON
{
  "hex": "#402b0a",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 36.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30732,
    "c": 0.05571,
    "h": 74.7
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#402B0A
secondary
#29497D
accent
#80F038
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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