#402A0D#402A0D

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

Color values

HEX#402A0D
RGBrgb(64, 42, 13)
HSLhsl(34, 66%, 15%)
HSVhsv(34, 80%, 25%)
CMYKcmyk(0%, 34.4%, 79.7%, 74.9%)
CIE-LABlab(19.12, 6.90, 22.13)
CIE-LCHlch(19.12, 23.18, 72.68°)
OKLaboklab(30.53% 0.0177 0.0504)
OKLCHoklch(30.53% 0.053 70.6)
XYZxyz(3.0152, 2.7752, 0.7576)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A0D #0D2340
analogous
#40110D #402A0D #3C400D
triadic
#402A0D #0D402A #2A0D40
tetradic
#402A0D #0D4011 #0D2340 #400D3C
square
#402A0D #0D4011 #0D2340 #400D3C
split-complementary
#402A0D #0D3C40 #110D40
monochromatic
#191105 #191105 #402A0D #734B17 #A66D22

Accessibility & contrast

On white

13.50
#402A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402A0D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A0D#FFFFFF#000000##FFFFFF
##402A0D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B0A
Deuteranopia (green-blind)
#37300E
Tritanopia (blue-blind)
#462524
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a0d;
/* rgb */ color: rgb(64, 42, 13);
/* oklch */ color: oklch(30.5% 0.053 70.6);
Tailwind
colors: {
  custom: {
    50: '#78634d',
    500: '#402a0d',
    950: '#000000',
  },
}
SCSS
$custom: #402a0d;
$custom-light: #78634d;
$custom-dark: #000000;
JSON
{
  "hex": "#402a0d",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 13
  },
  "hsl": {
    "h": 34.118,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3053,
    "c": 0.05343,
    "h": 70.6
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#402A0D
secondary
#2D4F7C
accent
#88E93F
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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