#402C0E#402C0E

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

Color values

HEX#402C0E
RGBrgb(64, 44, 14)
HSLhsl(36, 64%, 15%)
HSVhsv(36, 78%, 25%)
CMYKcmyk(0%, 31.2%, 78.1%, 74.9%)
CIE-LABlab(19.73, 5.63, 22.34)
CIE-LCHlch(19.73, 23.04, 75.86°)
OKLaboklab(31.01% 0.0142 0.0508)
OKLCHoklch(31.01% 0.053 74.4)
XYZxyz(3.0945, 2.9233, 0.8167)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C0E #0E2240
analogous
#40130E #402C0E #3B400E
triadic
#402C0E #0E402C #2C0E40
tetradic
#402C0E #0E4013 #0E2240 #400E3B
square
#402C0E #0E4013 #0E2240 #400E3B
split-complementary
#402C0E #0E3B40 #130E40
monochromatic
#191105 #191105 #402C0E #724F19 #A47124

Accessibility & contrast

On white

13.25
#402C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402C0E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C0E#FFFFFF#000000##FFFFFF
##402C0E1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0B
Deuteranopia (green-blind)
#38320F
Tritanopia (blue-blind)
#462726
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c0e;
/* rgb */ color: rgb(64, 44, 14);
/* oklch */ color: oklch(31.0% 0.053 74.4);
Tailwind
colors: {
  custom: {
    50: '#77654e',
    500: '#402c0e',
    950: '#000000',
  },
}
SCSS
$custom: #402c0e;
$custom-light: #77654e;
$custom-dark: #000000;
JSON
{
  "hex": "#402c0e",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 14
  },
  "hsl": {
    "h": 36,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31012,
    "c": 0.05275,
    "h": 74.4
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#402C0E
secondary
#2F4D7B
accent
#83E741
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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