#402908#402908

#402908 is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.2% C 0.057 H 71.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#402908
RGBrgb(64, 41, 8)
HSLhsl(35, 78%, 14%)
HSVhsv(35, 88%, 25%)
CMYKcmyk(0%, 35.9%, 87.5%, 74.9%)
CIE-LABlab(18.77, 7.27, 23.87)
CIE-LCHlch(18.77, 24.95, 73.06°)
OKLaboklab(30.24% 0.018 0.0542)
OKLCHoklch(30.24% 0.057 71.7)
XYZxyz(2.9513, 2.6937, 0.5942)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402908 #081F40
analogous
#400D08 #402908 #3B4008
triadic
#402908 #084029 #290840
tetradic
#402908 #08400D #081F40 #40083B
square
#402908 #08400D #081F40 #40083B
split-complementary
#402908 #083B40 #0D0840
monochromatic
#1B1103 #1B1103 #402908 #764C0F #AD6F16

Accessibility & contrast

On white

13.65
#402908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#402908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402908
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402908#FFFFFF#000000##FFFFFF
##4029081.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A04
Deuteranopia (green-blind)
#363009
Tritanopia (blue-blind)
#472322
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402908;
/* rgb */ color: rgb(64, 41, 8);
/* oklch */ color: oklch(30.2% 0.057 71.7);
Tailwind
colors: {
  custom: {
    50: '#78624b',
    500: '#402908',
    950: '#000000',
  },
}
SCSS
$custom: #402908;
$custom-light: #78624b;
$custom-dark: #000000;
JSON
{
  "hex": "#402908",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 35.357,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30243,
    "c": 0.05708,
    "h": 71.7
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#402908
secondary
#254A7E
accent
#83F434
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402908

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

Preview Lab → · Contrast checker → · Palette generator →

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