#402B0E#402B0E

#402B0E is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.8% C 0.053 H 72.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#402B0E
RGBrgb(64, 43, 14)
HSLhsl(35, 64%, 15%)
HSVhsv(35, 78%, 25%)
CMYKcmyk(0%, 32.8%, 78.1%, 74.9%)
CIE-LABlab(19.43, 6.30, 22.00)
CIE-LCHlch(19.43, 22.88, 74.02°)
OKLaboklab(30.78% 0.0161 0.0501)
OKLCHoklch(30.78% 0.053 72.2)
XYZxyz(3.0577, 2.8497, 0.8044)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B0E #0E2340
analogous
#40120E #402B0E #3C400E
triadic
#402B0E #0E402B #2B0E40
tetradic
#402B0E #0E4012 #0E2340 #400E3C
square
#402B0E #0E4012 #0E2340 #400E3C
split-complementary
#402B0E #0E3C40 #120E40
monochromatic
#191105 #191105 #402B0E #724D19 #A46E24

Accessibility & contrast

On white

13.38
#402B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402B0E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402B0E#FFFFFF#000000##FFFFFF
##402B0E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0B
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b0e;
/* rgb */ color: rgb(64, 43, 14);
/* oklch */ color: oklch(30.8% 0.053 72.2);
Tailwind
colors: {
  custom: {
    50: '#77644e',
    500: '#402b0e',
    950: '#000000',
  },
}
SCSS
$custom: #402b0e;
$custom-light: #77644e;
$custom-dark: #000000;
JSON
{
  "hex": "#402b0e",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 14
  },
  "hsl": {
    "h": 34.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30776,
    "c": 0.05265,
    "h": 72.2
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#402B0E
secondary
#2F4F7B
accent
#87E741
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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