#402216#402216

#402216 is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.9% C 0.051 H 42.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#402216
RGBrgb(64, 34, 22)
HSLhsl(17, 49%, 17%)
HSVhsv(17, 66%, 25%)
CMYKcmyk(0%, 46.9%, 65.6%, 74.9%)
CIE-LABlab(16.95, 12.96, 14.21)
CIE-LCHlch(16.95, 19.24, 47.63°)
OKLaboklab(28.89% 0.0375 0.0341)
OKLCHoklch(28.89% 0.051 42.3)
XYZxyz(2.8314, 2.2922, 1.0522)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402216 #163440
analogous
#40161F #402216 #403716
triadic
#402216 #164022 #221640
tetradic
#402216 #1F4016 #163440 #371640
square
#402216 #1F4016 #163440 #371640
split-complementary
#402216 #164037 #161F40
monochromatic
#170C08 #170C08 #402216 #6E3A26 #9B5235

Accessibility & contrast

On white

14.40
#402216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#402216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402216
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402216#FFFFFF#000000##FFFFFF
##4022161.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2615
Deuteranopia (green-blind)
#312C16
Tritanopia (blue-blind)
#461D1F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402216;
/* rgb */ color: rgb(64, 34, 22);
/* oklch */ color: oklch(28.9% 0.051 42.3);
Tailwind
colors: {
  custom: {
    50: '#775d53',
    500: '#402216',
    950: '#000000',
  },
}
SCSS
$custom: #402216;
$custom-light: #775d53;
$custom-dark: #000000;
JSON
{
  "hex": "#402216",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 22
  },
  "hsl": {
    "h": 17.143,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28893,
    "c": 0.05071,
    "h": 42.3
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#402216
secondary
#3B6677
accent
#B1D84F
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402216

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

Preview Lab → · Contrast checker → · Palette generator →

#402216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva