#402D13#402D13

#402D13 is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.3% C 0.048 H 73.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#402D13
RGBrgb(64, 45, 19)
HSLhsl(35, 54%, 16%)
HSVhsv(35, 70%, 25%)
CMYKcmyk(0%, 29.7%, 70.3%, 74.9%)
CIE-LABlab(20.10, 5.35, 19.93)
CIE-LCHlch(20.10, 20.64, 74.98°)
OKLaboklab(31.32% 0.0142 0.0463)
OKLCHoklch(31.32% 0.048 73)
XYZxyz(3.1705, 3.0140, 1.0307)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402D13 #132640
analogous
#401713 #402D13 #3D4013
triadic
#402D13 #13402D #2D1340
tetradic
#402D13 #134017 #132640 #40133D
square
#402D13 #134017 #132640 #40133D
split-complementary
#402D13 #133D40 #171340
monochromatic
#181107 #181107 #402D13 #6F4E21 #9E6F2F

Accessibility & contrast

On white

13.10
#402D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402D13
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402D13#FFFFFF#000000##FFFFFF
##402D131.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E10
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#462827
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402d13;
/* rgb */ color: rgb(64, 45, 19);
/* oklch */ color: oklch(31.3% 0.048 73.0);
Tailwind
colors: {
  custom: {
    50: '#776551',
    500: '#402d13',
    950: '#000000',
  },
}
SCSS
$custom: #402d13;
$custom-light: #776551;
$custom-dark: #000000;
JSON
{
  "hex": "#402d13",
  "rgb": {
    "r": 64,
    "g": 45,
    "b": 19
  },
  "hsl": {
    "h": 34.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31318,
    "c": 0.04843,
    "h": 73
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#402D13
secondary
#365279
accent
#88DE4A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090502
muted
#7B7A78

Preview Lab

Preview with #402D13

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

Preview Lab → · Contrast checker → · Palette generator →

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