#402A22#402A22

#402A22 is a dark, muted orange. Relative luminance 0.029; OKLCH L 30.9% C 0.036 H 40.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#402A22
RGBrgb(64, 42, 34)
HSLhsl(16, 31%, 19%)
HSVhsv(16, 47%, 25%)
CMYKcmyk(0%, 34.4%, 46.9%, 74.9%)
CIE-LABlab(19.48, 9.04, 9.34)
CIE-LCHlch(19.48, 13.00, 45.95°)
OKLaboklab(30.93% 0.0273 0.0235)
OKLCHoklch(30.93% 0.036 40.8)
XYZxyz(3.2312, 2.8616, 1.8952)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A22 #223840
analogous
#402229 #402A22 #403922
triadic
#402A22 #22402A #2A2240
tetradic
#402A22 #294022 #223840 #392240
square
#402A22 #294022 #223840 #392240
split-complementary
#402A22 #224039 #222940
monochromatic
#140D0B #18100D #402A22 #684437 #905E4C

Accessibility & contrast

On white

13.36
#402A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A22
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A22#FFFFFF#000000##FFFFFF
##402A221.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C21
Deuteranopia (green-blind)
#353122
Tritanopia (blue-blind)
#452728
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402a22;
/* rgb */ color: rgb(64, 42, 34);
/* oklch */ color: oklch(30.9% 0.036 40.8);
Tailwind
colors: {
  custom: {
    50: '#76635d',
    500: '#402a22',
    950: '#000000',
  },
}
SCSS
$custom: #402a22;
$custom-light: #76635d;
$custom-dark: #000000;
JSON
{
  "hex": "#402a22",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 16,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30927,
    "c": 0.036,
    "h": 40.8
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#402A22
secondary
#4B6873
accent
#ACC761
background
#F7F5F5
surface
#EDEAE9
border
#C8C6C5
text
#080504
muted
#7B7979

Preview Lab

Preview with #402A22

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

Preview Lab → · Contrast checker → · Palette generator →

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