#402A13#402A13

#402A13 is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.6% C 0.048 H 65.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#402A13
RGBrgb(64, 42, 19)
HSLhsl(31, 54%, 16%)
HSVhsv(31, 70%, 25%)
CMYKcmyk(0%, 34.4%, 70.3%, 74.9%)
CIE-LABlab(19.20, 7.36, 18.88)
CIE-LCHlch(19.20, 20.27, 68.72°)
OKLaboklab(30.61% 0.0201 0.044)
OKLCHoklch(30.61% 0.048 65.5)
XYZxyz(3.0601, 2.7932, 0.9939)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A13 #132940
analogous
#401413 #402A13 #404013
triadic
#402A13 #13402A #2A1340
tetradic
#402A13 #134014 #132940 #401340
square
#402A13 #134014 #132940 #401340
split-complementary
#402A13 #134040 #141340
monochromatic
#180F07 #180F07 #402A13 #6F4921 #9E682F

Accessibility & contrast

On white

13.47
#402A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#402A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A13
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A13#FFFFFF#000000##FFFFFF
##402A131.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C11
Deuteranopia (green-blind)
#363113
Tritanopia (blue-blind)
#462525
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402a13;
/* rgb */ color: rgb(64, 42, 19);
/* oklch */ color: oklch(30.6% 0.048 65.5);
Tailwind
colors: {
  custom: {
    50: '#776351',
    500: '#402a13',
    950: '#000000',
  },
}
SCSS
$custom: #402a13;
$custom-light: #776351;
$custom-dark: #000000;
JSON
{
  "hex": "#402a13",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 19
  },
  "hsl": {
    "h": 30.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.30613,
    "c": 0.04841,
    "h": 65.5
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#402A13
secondary
#365779
accent
#92DE4A
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402A13

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

Preview Lab → · Contrast checker → · Palette generator →

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