#402B13#402B13

#402B13 is a dark, muted orange. Relative luminance 0.029; OKLCH L 30.8% C 0.048 H 68.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#402B13
RGBrgb(64, 43, 19)
HSLhsl(32, 54%, 16%)
HSVhsv(32, 70%, 25%)
CMYKcmyk(0%, 32.8%, 70.3%, 74.9%)
CIE-LABlab(19.49, 6.69, 19.23)
CIE-LCHlch(19.49, 20.36, 70.83°)
OKLaboklab(30.85% 0.0181 0.0448)
OKLCHoklch(30.85% 0.048 68)
XYZxyz(3.0960, 2.8650, 1.0059)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B13 #132840
analogous
#401513 #402B13 #3F4013
triadic
#402B13 #13402B #2B1340
tetradic
#402B13 #134015 #132840 #40133F
square
#402B13 #134015 #132840 #40133F
split-complementary
#402B13 #133F40 #151340
monochromatic
#181007 #181007 #402B13 #6F4B21 #9E6A2F

Accessibility & contrast

On white

13.35
#402B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B13
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B13#FFFFFF#000000##FFFFFF
##402B131.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C11
Deuteranopia (green-blind)
#373113
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b13;
/* rgb */ color: rgb(64, 43, 19);
/* oklch */ color: oklch(30.8% 0.048 68.0);
Tailwind
colors: {
  custom: {
    50: '#776451',
    500: '#402b13',
    950: '#000000',
  },
}
SCSS
$custom: #402b13;
$custom-light: #776451;
$custom-dark: #000000;
JSON
{
  "hex": "#402b13",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 19
  },
  "hsl": {
    "h": 32,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.04833,
    "h": 68
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#402B13
secondary
#365579
accent
#8FDE4A
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402B13

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

Preview Lab → · Contrast checker → · Palette generator →

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