#402010#402010

#402010 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.4% C 0.056 H 46.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#402010
RGBrgb(64, 32, 16)
HSLhsl(20, 60%, 16%)
HSVhsv(20, 75%, 25%)
CMYKcmyk(0%, 50%, 75%, 74.9%)
CIE-LABlab(16.31, 13.76, 17.20)
CIE-LCHlch(16.31, 22.02, 51.33°)
OKLaboklab(28.37% 0.0388 0.0404)
OKLCHoklch(28.37% 0.056 46.1)
XYZxyz(2.7246, 2.1607, 0.7637)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402010 #103040
analogous
#401018 #402010 #403810
triadic
#402010 #104020 #201040
tetradic
#402010 #184010 #103040 #381040
square
#402010 #184010 #103040 #381040
split-complementary
#402010 #104038 #101840
monochromatic
#180C06 #180C06 #402010 #71381C #A25128

Accessibility & contrast

On white

14.66
#402010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#402010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402010
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402010#FFFFFF#000000##FFFFFF
##4020101.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#471A1C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #402010;
/* rgb */ color: rgb(64, 32, 16);
/* oklch */ color: oklch(28.4% 0.056 46.1);
Tailwind
colors: {
  custom: {
    50: '#785c4e',
    500: '#402010',
    950: '#000000',
  },
}
SCSS
$custom: #402010;
$custom-light: #785c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#402010",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 16
  },
  "hsl": {
    "h": 20,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28367,
    "c": 0.05599,
    "h": 46.1
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#402010
secondary
#32627A
accent
#AEE345
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402010

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

Preview Lab → · Contrast checker → · Palette generator →

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