#402805#402805

#402805 is a dark, muted orange. Relative luminance 0.026; OKLCH L 30.0% C 0.059 H 71.5°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#402805
RGBrgb(64, 40, 5)
HSLhsl(36, 86%, 14%)
HSVhsv(36, 92%, 25%)
CMYKcmyk(0%, 37.5%, 92.2%, 74.9%)
CIE-LABlab(18.45, 7.77, 24.71)
CIE-LCHlch(18.45, 25.90, 72.54°)
OKLaboklab(29.98% 0.0189 0.0563)
OKLCHoklch(29.98% 0.059 71.5)
XYZxyz(2.9008, 2.6188, 0.4963)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402805 #051D40
analogous
#400A05 #402805 #3A4005
triadic
#402805 #054028 #280540
tetradic
#402805 #05400A #051D40 #40053A
square
#402805 #05400A #051D40 #40053A
split-complementary
#402805 #053A40 #0A0540
monochromatic
#1C1202 #1C1202 #402805 #794B09 #B26F0E

Accessibility & contrast

On white

13.78
#402805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#402805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402805
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402805#FFFFFF#000000##FFFFFF
##4028051.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A01
Deuteranopia (green-blind)
#362F06
Tritanopia (blue-blind)
#472221
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402805;
/* rgb */ color: rgb(64, 40, 5);
/* oklch */ color: oklch(30.0% 0.059 71.5);
Tailwind
colors: {
  custom: {
    50: '#786149',
    500: '#402805',
    950: '#000000',
  },
}
SCSS
$custom: #402805;
$custom-light: #786149;
$custom-dark: #000000;
JSON
{
  "hex": "#402805",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 35.593,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29981,
    "c": 0.05934,
    "h": 71.5
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#402805
secondary
#204781
accent
#81FC2C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402805

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

Preview Lab → · Contrast checker → · Palette generator →

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