#402D0A#402D0A

#402D0A is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.2% C 0.056 H 78.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#402D0A
RGBrgb(64, 45, 10)
HSLhsl(39, 73%, 15%)
HSVhsv(39, 84%, 25%)
CMYKcmyk(0%, 29.7%, 84.4%, 74.9%)
CIE-LABlab(20.00, 4.71, 24.46)
CIE-LCHlch(20.00, 24.91, 79.09°)
OKLaboklab(31.21% 0.0108 0.055)
OKLCHoklch(31.21% 0.056 78.9)
XYZxyz(3.1077, 2.9889, 0.7003)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402D0A #0A1D40
analogous
#40120A #402D0A #38400A
triadic
#402D0A #0A402D #2D0A40
tetradic
#402D0A #0A4012 #0A1D40 #400A38
square
#402D0A #0A4012 #0A1D40 #400A38
split-complementary
#402D0A #0A3840 #120A40
monochromatic
#1A1304 #1A1304 #402D0A #755212 #AA771B

Accessibility & contrast

On white

13.14
#402D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402D0A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402D0A#FFFFFF#000000##FFFFFF
##402D0A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E06
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#462826
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402d0a;
/* rgb */ color: rgb(64, 45, 10);
/* oklch */ color: oklch(31.2% 0.056 78.9);
Tailwind
colors: {
  custom: {
    50: '#78654c',
    500: '#402d0a',
    950: '#000000',
  },
}
SCSS
$custom: #402d0a;
$custom-light: #78654c;
$custom-dark: #000000;
JSON
{
  "hex": "#402d0a",
  "rgb": {
    "r": 64,
    "g": 45,
    "b": 10
  },
  "hsl": {
    "h": 38.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.05608,
    "h": 78.9
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#402D0A
secondary
#29467D
accent
#79F038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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