#402E22#402E22

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

Color values

HEX#402E22
RGBrgb(64, 46, 34)
HSLhsl(24, 31%, 19%)
HSVhsv(24, 47%, 25%)
CMYKcmyk(0%, 28.1%, 46.9%, 74.9%)
CIE-LABlab(20.67, 6.36, 10.95)
CIE-LCHlch(20.67, 12.66, 59.86°)
OKLaboklab(31.85% 0.0192 0.0274)
OKLCHoklch(31.85% 0.033 54.9)
XYZxyz(3.3802, 3.1597, 1.9449)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E22 #223440
analogous
#402225 #402E22 #403D22
triadic
#402E22 #22402E #2E2240
tetradic
#402E22 #254022 #223440 #3D2240
square
#402E22 #254022 #223440 #3D2240
split-complementary
#402E22 #22403D #222540
monochromatic
#140E0B #18110D #402E22 #684B37 #90674C

Accessibility & contrast

On white

12.87
#402E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402E22
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E22#FFFFFF#000000##FFFFFF
##402E221.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F21
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#452B2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e22;
/* rgb */ color: rgb(64, 46, 34);
/* oklch */ color: oklch(31.9% 0.033 54.9);
Tailwind
colors: {
  custom: {
    50: '#76665d',
    500: '#402e22',
    950: '#000000',
  },
}
SCSS
$custom: #402e22;
$custom-light: #76665d;
$custom-dark: #000000;
JSON
{
  "hex": "#402e22",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 24,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31852,
    "c": 0.03344,
    "h": 54.9
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#402E22
secondary
#4B6373
accent
#9EC761
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080604
muted
#7B7A79

Preview Lab

Preview with #402E22

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

Preview Lab → · Contrast checker → · Palette generator →

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