#402108#402108

#402108 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.5% C 0.060 H 55.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#402108
RGBrgb(64, 33, 8)
HSLhsl(27, 78%, 14%)
HSVhsv(27, 88%, 25%)
CMYKcmyk(0%, 48.4%, 87.5%, 74.9%)
CIE-LABlab(16.48, 12.60, 21.10)
CIE-LCHlch(16.48, 24.58, 59.16°)
OKLaboklab(28.47% 0.0337 0.0494)
OKLCHoklch(28.47% 0.06 55.7)
XYZxyz(2.7023, 2.1955, 0.5112)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402108 #082740
analogous
#40080B #402108 #403D08
triadic
#402108 #084021 #210840
tetradic
#402108 #0B4008 #082740 #3D0840
square
#402108 #0B4008 #082740 #3D0840
split-complementary
#402108 #08403D #080B40
monochromatic
#1B0E03 #1B0E03 #402108 #763D0F #AD5916

Accessibility & contrast

On white

14.59
#402108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402108
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402108#FFFFFF#000000##FFFFFF
##4021081.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402108;
/* rgb */ color: rgb(64, 33, 8);
/* oklch */ color: oklch(28.5% 0.060 55.7);
Tailwind
colors: {
  custom: {
    50: '#785c4a',
    500: '#402108',
    950: '#000000',
  },
}
SCSS
$custom: #402108;
$custom-light: #785c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#402108",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 8
  },
  "hsl": {
    "h": 26.786,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28468,
    "c": 0.0598,
    "h": 55.7
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#402108
secondary
#25577E
accent
#9EF434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402108

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

Preview Lab → · Contrast checker → · Palette generator →

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