#402E0E#402E0E

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

Color values

HEX#402E0E
RGBrgb(64, 46, 14)
HSLhsl(38, 64%, 15%)
HSVhsv(38, 78%, 25%)
CMYKcmyk(0%, 28.1%, 78.1%, 74.9%)
CIE-LABlab(20.35, 4.30, 23.03)
CIE-LCHlch(20.35, 23.43, 79.43°)
OKLaboklab(31.49% 0.0103 0.0522)
OKLCHoklch(31.49% 0.053 78.9)
XYZxyz(3.1708, 3.0759, 0.8421)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E0E #0E2040
analogous
#40150E #402E0E #39400E
triadic
#402E0E #0E402E #2E0E40
tetradic
#402E0E #0E4015 #0E2040 #400E39
square
#402E0E #0E4015 #0E2040 #400E39
split-complementary
#402E0E #0E3940 #150E40
monochromatic
#191205 #191205 #402E0E #725219 #A47624

Accessibility & contrast

On white

13.00
#402E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#402E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E0E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E0E#FFFFFF#000000##FFFFFF
##402E0E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402e0e;
/* rgb */ color: rgb(64, 46, 14);
/* oklch */ color: oklch(31.5% 0.053 78.9);
Tailwind
colors: {
  custom: {
    50: '#77664e',
    500: '#402e0e',
    950: '#000000',
  },
}
SCSS
$custom: #402e0e;
$custom-light: #77664e;
$custom-dark: #000000;
JSON
{
  "hex": "#402e0e",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 14
  },
  "hsl": {
    "h": 38.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31491,
    "c": 0.0532,
    "h": 78.9
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#402E0E
secondary
#2F4A7B
accent
#7DE741
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090501
muted
#7B7A77

Preview Lab

Preview with #402E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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