#402D0E#402D0E

#402D0E is a dark, muted orange. Relative luminance 0.030; OKLCH L 31.3% C 0.053 H 76.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#402D0E
RGBrgb(64, 45, 14)
HSLhsl(37, 64%, 15%)
HSVhsv(37, 78%, 25%)
CMYKcmyk(0%, 29.7%, 78.1%, 74.9%)
CIE-LABlab(20.04, 4.96, 22.69)
CIE-LCHlch(20.04, 23.23, 77.66°)
OKLaboklab(31.25% 0.0122 0.0515)
OKLCHoklch(31.25% 0.053 76.7)
XYZxyz(3.1322, 2.9987, 0.8292)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402D0E #0E2140
analogous
#40140E #402D0E #3A400E
triadic
#402D0E #0E402D #2D0E40
tetradic
#402D0E #0E4014 #0E2140 #400E3A
square
#402D0E #0E4014 #0E2140 #400E3A
split-complementary
#402D0E #0E3A40 #140E40
monochromatic
#191205 #191205 #402D0E #725019 #A47424

Accessibility & contrast

On white

13.13
#402D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402D0E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402D0E#FFFFFF#000000##FFFFFF
##402D0E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0A
Deuteranopia (green-blind)
#39320F
Tritanopia (blue-blind)
#462826
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402d0e;
/* rgb */ color: rgb(64, 45, 14);
/* oklch */ color: oklch(31.3% 0.053 76.7);
Tailwind
colors: {
  custom: {
    50: '#77654e',
    500: '#402d0e',
    950: '#000000',
  },
}
SCSS
$custom: #402d0e;
$custom-light: #77654e;
$custom-dark: #000000;
JSON
{
  "hex": "#402d0e",
  "rgb": {
    "r": 64,
    "g": 45,
    "b": 14
  },
  "hsl": {
    "h": 37.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.05293,
    "h": 76.7
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#402D0E
secondary
#2F4C7B
accent
#80E741
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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