#402E13#402E13

#402E13 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.6% C 0.049 H 75.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#402E13
RGBrgb(64, 46, 19)
HSLhsl(36, 54%, 16%)
HSVhsv(36, 70%, 25%)
CMYKcmyk(0%, 28.1%, 70.3%, 74.9%)
CIE-LABlab(20.41, 4.68, 20.28)
CIE-LCHlch(20.41, 20.82, 77.00°)
OKLaboklab(31.56% 0.0122 0.0471)
OKLCHoklch(31.56% 0.049 75.5)
XYZxyz(3.2091, 3.0912, 1.0436)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E13 #132540
analogous
#401813 #402E13 #3C4013
triadic
#402E13 #13402E #2E1340
tetradic
#402E13 #134018 #132540 #40133C
square
#402E13 #134018 #132540 #40133C
split-complementary
#402E13 #133C40 #181340
monochromatic
#181107 #181107 #402E13 #6F5021 #9E722F

Accessibility & contrast

On white

12.98
#402E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#402E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E13
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E13#FFFFFF#000000##FFFFFF
##402E131.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F10
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#462928
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e13;
/* rgb */ color: rgb(64, 46, 19);
/* oklch */ color: oklch(31.6% 0.049 75.5);
Tailwind
colors: {
  custom: {
    50: '#776651',
    500: '#402e13',
    950: '#000000',
  },
}
SCSS
$custom: #402e13;
$custom-light: #776651;
$custom-dark: #000000;
JSON
{
  "hex": "#402e13",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 19
  },
  "hsl": {
    "h": 36,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31557,
    "c": 0.04863,
    "h": 75.5
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#402E13
secondary
#365179
accent
#85DE4A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090602
muted
#7B7A78

Preview Lab

Preview with #402E13

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

Preview Lab → · Contrast checker → · Palette generator →

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