#402E08#402E08

#402E08 is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.4% C 0.058 H 81.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#402E08
RGBrgb(64, 46, 8)
HSLhsl(41, 78%, 14%)
HSVhsv(41, 88%, 25%)
CMYKcmyk(0%, 28.1%, 87.5%, 74.9%)
CIE-LABlab(20.29, 3.94, 25.61)
CIE-LCHlch(20.29, 25.91, 81.26°)
OKLaboklab(31.43% 0.0083 0.0573)
OKLCHoklch(31.43% 0.058 81.8)
XYZxyz(3.1354, 3.0617, 0.6555)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E08 #081A40
analogous
#401208 #402E08 #364008
triadic
#402E08 #08402E #2E0840
tetradic
#402E08 #084012 #081A40 #400836
square
#402E08 #084012 #081A40 #400836
split-complementary
#402E08 #083640 #120840
monochromatic
#1B1403 #1B1403 #402E08 #76550F #AD7C16

Accessibility & contrast

On white

13.02
#402E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#402E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E08
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E08#FFFFFF#000000##FFFFFF
##402E081.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e08;
/* rgb */ color: rgb(64, 46, 8);
/* oklch */ color: oklch(31.4% 0.058 81.8);
Tailwind
colors: {
  custom: {
    50: '#78664b',
    500: '#402e08',
    950: '#000000',
  },
}
SCSS
$custom: #402e08;
$custom-light: #78664b;
$custom-dark: #000000;
JSON
{
  "hex": "#402e08",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 40.714,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.05786,
    "h": 81.8
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#402E08
secondary
#25427E
accent
#71F434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E08

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

Preview Lab → · Contrast checker → · Palette generator →

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