#402B0C#402B0C

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

Color values

HEX#402B0C
RGBrgb(64, 43, 12)
HSLhsl(36, 68%, 15%)
HSVhsv(36, 81%, 25%)
CMYKcmyk(0%, 32.8%, 81.2%, 74.9%)
CIE-LABlab(19.41, 6.17, 22.93)
CIE-LCHlch(19.41, 23.75, 74.95°)
OKLaboklab(30.75% 0.0154 0.052)
OKLCHoklch(30.75% 0.054 73.5)
XYZxyz(3.0448, 2.8445, 0.7364)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B0C #0C2140
analogous
#40110C #402B0C #3B400C
triadic
#402B0C #0C402B #2B0C40
tetradic
#402B0C #0C4011 #0C2140 #400C3B
square
#402B0C #0C4011 #0C2140 #400C3B
split-complementary
#402B0C #0C3B40 #110C40
monochromatic
#1A1105 #1A1105 #402B0C #744E16 #A7701F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402B0C#FFFFFF#000000##FFFFFF
##402B0C1.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)
#322C08
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#462624
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b0c;
/* rgb */ color: rgb(64, 43, 12);
/* oklch */ color: oklch(30.8% 0.054 73.5);
Tailwind
colors: {
  custom: {
    50: '#78644d',
    500: '#402b0c',
    950: '#000000',
  },
}
SCSS
$custom: #402b0c;
$custom-light: #78644d;
$custom-dark: #000000;
JSON
{
  "hex": "#402b0c",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 35.769,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30753,
    "c": 0.05424,
    "h": 73.5
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#402B0C
secondary
#2C4C7C
accent
#83EB3D
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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