#402C0B#402C0B

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

Color values

HEX#402C0B
RGBrgb(64, 44, 11)
HSLhsl(37, 71%, 15%)
HSVhsv(37, 83%, 25%)
CMYKcmyk(0%, 31.2%, 82.8%, 74.9%)
CIE-LABlab(19.70, 5.44, 23.71)
CIE-LCHlch(19.70, 24.33, 77.09°)
OKLaboklab(30.98% 0.0131 0.0536)
OKLCHoklch(30.98% 0.055 76.3)
XYZxyz(3.0756, 2.9158, 0.7174)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C0B #0B1F40
analogous
#40110B #402C0B #3A400B
triadic
#402C0B #0B402C #2C0B40
tetradic
#402C0B #0B4011 #0B1F40 #400B3A
square
#402C0B #0B4011 #0B1F40 #400B3A
split-complementary
#402C0B #0B3A40 #110B40
monochromatic
#1A1204 #1A1204 #402C0B #745014 #A8741D

Accessibility & contrast

On white

13.26
#402C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402C0B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C0B#FFFFFF#000000##FFFFFF
##402C0B1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402c0b;
/* rgb */ color: rgb(64, 44, 11);
/* oklch */ color: oklch(31.0% 0.055 76.3);
Tailwind
colors: {
  custom: {
    50: '#78644c',
    500: '#402c0b',
    950: '#000000',
  },
}
SCSS
$custom: #402c0b;
$custom-light: #78644c;
$custom-dark: #000000;
JSON
{
  "hex": "#402c0b",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 37.358,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.05513,
    "h": 76.3
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#402C0B
secondary
#2A497D
accent
#7EED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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