#402106#402106

#402106 is a dark, moderate orange. Relative luminance 0.022; OKLCH L 28.4% C 0.061 H 57.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#402106
RGBrgb(64, 33, 6)
HSLhsl(28, 83%, 14%)
HSVhsv(28, 91%, 25%)
CMYKcmyk(0%, 48.4%, 90.6%, 74.9%)
CIE-LABlab(16.46, 12.48, 21.89)
CIE-LCHlch(16.46, 25.20, 60.30°)
OKLaboklab(28.44% 0.0329 0.0514)
OKLCHoklch(28.44% 0.061 57.3)
XYZxyz(2.6913, 2.1911, 0.4535)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402106 #062540
analogous
#400608 #402106 #403E06
triadic
#402106 #064021 #210640
tetradic
#402106 #084006 #062540 #3E0640
square
#402106 #084006 #062540 #3E0640
split-complementary
#402106 #06403E #060840
monochromatic
#1C0E03 #1C0E03 #402106 #783E0B #B05B10

Accessibility & contrast

On white

14.60
#402106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#402106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402106
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402106#FFFFFF#000000##FFFFFF
##4021061.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2403
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#471A1C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402106;
/* rgb */ color: rgb(64, 33, 6);
/* oklch */ color: oklch(28.4% 0.061 57.3);
Tailwind
colors: {
  custom: {
    50: '#785c49',
    500: '#402106',
    950: '#000000',
  },
}
SCSS
$custom: #402106;
$custom-light: #785c49;
$custom-dark: #000000;
JSON
{
  "hex": "#402106",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 6
  },
  "hsl": {
    "h": 27.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28444,
    "c": 0.06102,
    "h": 57.3
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#402106
secondary
#225480
accent
#9BF92F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402106

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

Preview Lab → · Contrast checker → · Palette generator →

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