#402A08#402A08

#402A08 is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.5% C 0.057 H 73.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#402A08
RGBrgb(64, 42, 8)
HSLhsl(36, 78%, 14%)
HSVhsv(36, 88%, 25%)
CMYKcmyk(0%, 34.4%, 87.5%, 74.9%)
CIE-LABlab(19.07, 6.61, 24.22)
CIE-LCHlch(19.07, 25.10, 74.74°)
OKLaboklab(30.48% 0.016 0.0548)
OKLCHoklch(30.48% 0.057 73.7)
XYZxyz(2.9864, 2.7637, 0.6058)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A08 #081E40
analogous
#400E08 #402A08 #3A4008
triadic
#402A08 #08402A #2A0840
tetradic
#402A08 #08400E #081E40 #40083A
square
#402A08 #08400E #081E40 #40083A
split-complementary
#402A08 #083A40 #0E0840
monochromatic
#1B1203 #1B1203 #402A08 #764E0F #AD7116

Accessibility & contrast

On white

13.53
#402A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A08
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A08#FFFFFF#000000##FFFFFF
##402A081.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B04
Deuteranopia (green-blind)
#373009
Tritanopia (blue-blind)
#472423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a08;
/* rgb */ color: rgb(64, 42, 8);
/* oklch */ color: oklch(30.5% 0.057 73.7);
Tailwind
colors: {
  custom: {
    50: '#78634b',
    500: '#402a08',
    950: '#000000',
  },
}
SCSS
$custom: #402a08;
$custom-light: #78634b;
$custom-dark: #000000;
JSON
{
  "hex": "#402a08",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 36.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30476,
    "c": 0.05708,
    "h": 73.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#402A08
secondary
#25487E
accent
#7FF434
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A08

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

Preview Lab → · Contrast checker → · Palette generator →

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