#402C08#402C08

#402C08 is a dark, muted orange. Relative luminance 0.029; OKLCH L 30.9% C 0.057 H 77.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#402C08
RGBrgb(64, 44, 8)
HSLhsl(39, 78%, 14%)
HSVhsv(39, 88%, 25%)
CMYKcmyk(0%, 31.2%, 87.5%, 74.9%)
CIE-LABlab(19.68, 5.27, 24.91)
CIE-LCHlch(19.68, 25.46, 78.06°)
OKLaboklab(30.95% 0.0121 0.056)
OKLCHoklch(30.95% 0.057 77.8)
XYZxyz(3.0591, 2.9091, 0.6301)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C08 #081C40
analogous
#401008 #402C08 #384008
triadic
#402C08 #08402C #2C0840
tetradic
#402C08 #084010 #081C40 #400838
square
#402C08 #084010 #081C40 #400838
split-complementary
#402C08 #083840 #100840
monochromatic
#1B1303 #1B1303 #402C08 #76510F #AD7716

Accessibility & contrast

On white

13.28
#402C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#402C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C08
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C08#FFFFFF#000000##FFFFFF
##402C081.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D04
Deuteranopia (green-blind)
#383209
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402c08;
/* rgb */ color: rgb(64, 44, 8);
/* oklch */ color: oklch(30.9% 0.057 77.8);
Tailwind
colors: {
  custom: {
    50: '#78644b',
    500: '#402c08',
    950: '#000000',
  },
}
SCSS
$custom: #402c08;
$custom-light: #78644b;
$custom-dark: #000000;
JSON
{
  "hex": "#402c08",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 38.571,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30949,
    "c": 0.05732,
    "h": 77.8
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#402C08
secondary
#25457E
accent
#78F434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402C08

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

Preview Lab → · Contrast checker → · Palette generator →

#402C08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva