#402808#402808

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

Color values

HEX#402808
RGBrgb(64, 40, 8)
HSLhsl(34, 78%, 14%)
HSVhsv(34, 88%, 25%)
CMYKcmyk(0%, 37.5%, 87.5%, 74.9%)
CIE-LABlab(18.48, 7.94, 23.52)
CIE-LCHlch(18.48, 24.82, 71.34°)
OKLaboklab(30.01% 0.0199 0.0536)
OKLCHoklch(30.01% 0.057 69.6)
XYZxyz(2.9172, 2.6254, 0.5828)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402808 #082040
analogous
#400C08 #402808 #3C4008
triadic
#402808 #084028 #280840
tetradic
#402808 #08400C #082040 #40083C
square
#402808 #08400C #082040 #40083C
split-complementary
#402808 #083C40 #0C0840
monochromatic
#1B1103 #1B1103 #402808 #764A0F #AD6C16

Accessibility & contrast

On white

13.77
#402808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#402808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402808
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402808#FFFFFF#000000##FFFFFF
##4028081.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#472222
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402808;
/* rgb */ color: rgb(64, 40, 8);
/* oklch */ color: oklch(30.0% 0.057 69.6);
Tailwind
colors: {
  custom: {
    50: '#78614b',
    500: '#402808',
    950: '#000000',
  },
}
SCSS
$custom: #402808;
$custom-light: #78614b;
$custom-dark: #000000;
JSON
{
  "hex": "#402808",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 34.286,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30013,
    "c": 0.05715,
    "h": 69.6
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#402808
secondary
#254C7E
accent
#86F434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402808

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

Preview Lab → · Contrast checker → · Palette generator →

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