#402806#402806

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

Color values

HEX#402806
RGBrgb(64, 40, 6)
HSLhsl(35, 83%, 14%)
HSVhsv(35, 91%, 25%)
CMYKcmyk(0%, 37.5%, 90.6%, 74.9%)
CIE-LABlab(18.46, 7.83, 24.31)
CIE-LCHlch(18.46, 25.54, 72.15°)
OKLaboklab(29.99% 0.0192 0.0554)
OKLCHoklch(29.99% 0.059 70.9)
XYZxyz(2.9062, 2.6210, 0.5251)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402806 #061E40
analogous
#400B06 #402806 #3B4006
triadic
#402806 #064028 #280640
tetradic
#402806 #06400B #061E40 #40063B
square
#402806 #06400B #061E40 #40063B
split-complementary
#402806 #063B40 #0B0640
monochromatic
#1C1103 #1C1103 #402806 #784B0B #B06E10

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402806#FFFFFF#000000##FFFFFF
##4028061.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)
#302A02
Deuteranopia (green-blind)
#362F07
Tritanopia (blue-blind)
#472221
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402806;
/* rgb */ color: rgb(64, 40, 6);
/* oklch */ color: oklch(30.0% 0.059 70.9);
Tailwind
colors: {
  custom: {
    50: '#78614a',
    500: '#402806',
    950: '#000000',
  },
}
SCSS
$custom: #402806;
$custom-light: #78614a;
$custom-dark: #000000;
JSON
{
  "hex": "#402806",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 35.172,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29992,
    "c": 0.05859,
    "h": 70.9
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#402806
secondary
#224980
accent
#82F92F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402806

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

Preview Lab → · Contrast checker → · Palette generator →

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