#402408#402408

#402408 is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.1% C 0.058 H 61.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#402408
RGBrgb(64, 36, 8)
HSLhsl(30, 78%, 14%)
HSVhsv(30, 88%, 25%)
CMYKcmyk(0%, 43.8%, 87.5%, 74.9%)
CIE-LABlab(17.32, 10.61, 22.13)
CIE-LCHlch(17.32, 24.55, 64.38°)
OKLaboklab(29.11% 0.0278 0.0512)
OKLCHoklch(29.11% 0.058 61.5)
XYZxyz(2.7893, 2.3696, 0.5402)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402408 #082440
analogous
#400808 #402408 #404008
triadic
#402408 #084024 #240840
tetradic
#402408 #084008 #082440 #400840
square
#402408 #084008 #082440 #400840
split-complementary
#402408 #084040 #080840
monochromatic
#1B0F03 #1B0F03 #402408 #76430F #AD6116

Accessibility & contrast

On white

14.25
#402408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#402408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402408
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402408#FFFFFF#000000##FFFFFF
##4024081.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2705
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#471E1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #402408;
/* rgb */ color: rgb(64, 36, 8);
/* oklch */ color: oklch(29.1% 0.058 61.5);
Tailwind
colors: {
  custom: {
    50: '#785e4a',
    500: '#402408',
    950: '#000000',
  },
}
SCSS
$custom: #402408;
$custom-light: #785e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#402408",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 8
  },
  "hsl": {
    "h": 30,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.29114,
    "c": 0.05822,
    "h": 61.5
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#402408
secondary
#25527E
accent
#94F434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402408

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

Preview Lab → · Contrast checker → · Palette generator →

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