#402E0B#402E0B

#402E0B is a dark, muted orange. Relative luminance 0.031; OKLCH L 31.5% C 0.056 H 80.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#402E0B
RGBrgb(64, 46, 11)
HSLhsl(40, 71%, 15%)
HSVhsv(40, 83%, 25%)
CMYKcmyk(0%, 28.1%, 82.8%, 74.9%)
CIE-LABlab(20.32, 4.11, 24.40)
CIE-LCHlch(20.32, 24.75, 80.45°)
OKLaboklab(31.46% 0.0092 0.0549)
OKLCHoklch(31.46% 0.056 80.5)
XYZxyz(3.1520, 3.0684, 0.7428)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E0B #0B1D40
analogous
#40140B #402E0B #38400B
triadic
#402E0B #0B402E #2E0B40
tetradic
#402E0B #0B4014 #0B1D40 #400B38
square
#402E0B #0B4014 #0B1D40 #400B38
split-complementary
#402E0B #0B3840 #140B40
monochromatic
#1A1304 #1A1304 #402E0B #745414 #A8791D

Accessibility & contrast

On white

13.01
#402E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402E0B
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E0B#FFFFFF#000000##FFFFFF
##402E0B1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E07
Deuteranopia (green-blind)
#39330C
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e0b;
/* rgb */ color: rgb(64, 46, 11);
/* oklch */ color: oklch(31.5% 0.056 80.5);
Tailwind
colors: {
  custom: {
    50: '#77664c',
    500: '#402e0b',
    950: '#000000',
  },
}
SCSS
$custom: #402e0b;
$custom-light: #77664c;
$custom-dark: #000000;
JSON
{
  "hex": "#402e0b",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 11
  },
  "hsl": {
    "h": 39.623,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.05563,
    "h": 80.5
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#402E0B
secondary
#2A467D
accent
#77ED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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