#402005#402005

#402005 is a dark, moderate orange. Relative luminance 0.021; OKLCH L 28.2% C 0.062 H 56.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#402005
RGBrgb(64, 32, 5)
HSLhsl(27, 86%, 14%)
HSVhsv(27, 92%, 25%)
CMYKcmyk(0%, 50%, 92.2%, 74.9%)
CIE-LABlab(16.18, 13.08, 21.95)
CIE-LCHlch(16.18, 25.55, 59.20°)
OKLaboklab(28.22% 0.0345 0.0519)
OKLCHoklch(28.22% 0.062 56.4)
XYZxyz(2.6585, 2.1343, 0.4155)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402005 #052540
analogous
#400507 #402005 #403D05
triadic
#402005 #054020 #200540
tetradic
#402005 #074005 #052540 #3D0540
square
#402005 #074005 #052540 #3D0540
split-complementary
#402005 #05403D #050740
monochromatic
#1C0E02 #1C0E02 #402005 #793C09 #B2590E

Accessibility & contrast

On white

14.72
#402005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#402005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402005
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402005#FFFFFF#000000##FFFFFF
##4020051.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2402
Deuteranopia (green-blind)
#312B05
Tritanopia (blue-blind)
#47191B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #402005;
/* rgb */ color: rgb(64, 32, 5);
/* oklch */ color: oklch(28.2% 0.062 56.4);
Tailwind
colors: {
  custom: {
    50: '#795b49',
    500: '#402005',
    950: '#000000',
  },
}
SCSS
$custom: #402005;
$custom-light: #795b49;
$custom-dark: #000000;
JSON
{
  "hex": "#402005",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 5
  },
  "hsl": {
    "h": 27.458,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28223,
    "c": 0.06228,
    "h": 56.4
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#402005
secondary
#205481
accent
#9DFC2C
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402005

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

Preview Lab → · Contrast checker → · Palette generator →

#402005 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva