#402E24#402E24

#402E24 is a dark, muted orange. Relative luminance 0.032; OKLCH L 31.9% C 0.032 H 50.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#402E24
RGBrgb(64, 46, 36)
HSLhsl(21, 28%, 20%)
HSVhsv(21, 44%, 25%)
CMYKcmyk(0%, 28.1%, 43.8%, 74.9%)
CIE-LABlab(20.72, 6.64, 9.66)
CIE-LCHlch(20.72, 11.72, 55.51°)
OKLaboklab(31.9% 0.0202 0.0244)
OKLCHoklch(31.9% 0.032 50.3)
XYZxyz(3.4099, 3.1716, 2.1013)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E24 #243640
analogous
#402428 #402E24 #403C24
triadic
#402E24 #24402E #2E2440
tetradic
#402E24 #284024 #243640 #3C2440
square
#402E24 #284024 #243640 #3C2440
split-complementary
#402E24 #24403C #242840
monochromatic
#140E0B #19120E #402E24 #674A3A #8E6650

Accessibility & contrast

On white

12.85
#402E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#402E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E24
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E24#FFFFFF#000000##FFFFFF
##402E241.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333023
Deuteranopia (green-blind)
#373324
Tritanopia (blue-blind)
#452B2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e24;
/* rgb */ color: rgb(64, 46, 36);
/* oklch */ color: oklch(31.9% 0.032 50.3);
Tailwind
colors: {
  custom: {
    50: '#76665e',
    500: '#402e24',
    950: '#000000',
  },
}
SCSS
$custom: #402e24;
$custom-light: #76665e;
$custom-dark: #000000;
JSON
{
  "hex": "#402e24",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 36
  },
  "hsl": {
    "h": 21.429,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31903,
    "c": 0.03166,
    "h": 50.3
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#402E24
secondary
#4D6573
accent
#A2C463
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080604
muted
#7B7A79

Preview Lab

Preview with #402E24

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

Preview Lab → · Contrast checker → · Palette generator →

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