#402E0D#402E0D

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

Color values

HEX#402E0D
RGBrgb(64, 46, 13)
HSLhsl(39, 66%, 15%)
HSVhsv(39, 80%, 25%)
CMYKcmyk(0%, 28.1%, 79.7%, 74.9%)
CIE-LABlab(20.34, 4.23, 23.51)
CIE-LCHlch(20.34, 23.89, 79.80°)
OKLaboklab(31.48% 0.0099 0.0531)
OKLCHoklch(31.48% 0.054 79.5)
XYZxyz(3.1642, 3.0733, 0.8072)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E0D #0D1F40
analogous
#40150D #402E0D #38400D
triadic
#402E0D #0D402E #2E0D40
tetradic
#402E0D #0D4015 #0D1F40 #400D38
square
#402E0D #0D4015 #0D1F40 #400D38
split-complementary
#402E0D #0D3840 #150D40
monochromatic
#191205 #191205 #402E0D #735317 #A67722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402E0D#FFFFFF#000000##FFFFFF
##402E0D1.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)
#352E09
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#462927
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402e0d;
/* rgb */ color: rgb(64, 46, 13);
/* oklch */ color: oklch(31.5% 0.054 79.5);
Tailwind
colors: {
  custom: {
    50: '#77664d',
    500: '#402e0d',
    950: '#000000',
  },
}
SCSS
$custom: #402e0d;
$custom-light: #77664d;
$custom-dark: #000000;
JSON
{
  "hex": "#402e0d",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 13
  },
  "hsl": {
    "h": 38.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.31479,
    "c": 0.05404,
    "h": 79.5
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#402E0D
secondary
#2D497C
accent
#7BE93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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