#402C0A#402C0A

#402C0A is a dark, muted orange. Relative luminance 0.029; OKLCH L 31.0% C 0.056 H 76.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#402C0A
RGBrgb(64, 44, 10)
HSLhsl(38, 73%, 15%)
HSVhsv(38, 84%, 25%)
CMYKcmyk(0%, 31.2%, 84.4%, 74.9%)
CIE-LABlab(19.69, 5.38, 24.12)
CIE-LCHlch(19.69, 24.71, 77.42°)
OKLaboklab(30.97% 0.0128 0.0544)
OKLCHoklch(30.97% 0.056 76.8)
XYZxyz(3.0700, 2.9135, 0.6878)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C0A #0A1E40
analogous
#40110A #402C0A #39400A
triadic
#402C0A #0A402C #2C0A40
tetradic
#402C0A #0A4011 #0A1E40 #400A39
square
#402C0A #0A4011 #0A1E40 #400A39
split-complementary
#402C0A #0A3940 #110A40
monochromatic
#1A1204 #1A1204 #402C0A #755012 #AA751B

Accessibility & contrast

On white

13.27
#402C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#402C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C0A
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C0A#FFFFFF#000000##FFFFFF
##402C0A1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D06
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#462725
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c0a;
/* rgb */ color: rgb(64, 44, 10);
/* oklch */ color: oklch(31.0% 0.056 76.8);
Tailwind
colors: {
  custom: {
    50: '#78644c',
    500: '#402c0a',
    950: '#000000',
  },
}
SCSS
$custom: #402c0a;
$custom-light: #78644c;
$custom-dark: #000000;
JSON
{
  "hex": "#402c0a",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 10
  },
  "hsl": {
    "h": 37.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30968,
    "c": 0.05586,
    "h": 76.8
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#402C0A
secondary
#29487D
accent
#7CF038
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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