#402104#402104

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

Color values

HEX#402104
RGBrgb(64, 33, 4)
HSLhsl(29, 88%, 13%)
HSVhsv(29, 94%, 25%)
CMYKcmyk(0%, 48.4%, 93.8%, 74.9%)
CIE-LABlab(16.44, 12.37, 22.68)
CIE-LCHlch(16.44, 25.84, 61.39°)
OKLaboklab(28.42% 0.0322 0.0534)
OKLCHoklch(28.42% 0.062 59)
XYZxyz(2.6804, 2.1868, 0.3958)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402104 #042340
analogous
#400405 #402104 #403F04
triadic
#402104 #044021 #210440
tetradic
#402104 #054004 #042340 #3F0440
square
#402104 #054004 #042340 #3F0440
split-complementary
#402104 #04403F #040540
monochromatic
#1D0F02 #1D0F02 #402104 #7A3F08 #B35C0B

Accessibility & contrast

On white

14.61
#402104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402104
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402104#FFFFFF#000000##FFFFFF
##4021041.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#322B04
Tritanopia (blue-blind)
#471A1B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402104;
/* rgb */ color: rgb(64, 33, 4);
/* oklch */ color: oklch(28.4% 0.062 59.0);
Tailwind
colors: {
  custom: {
    50: '#795c48',
    500: '#402104',
    950: '#000000',
  },
}
SCSS
$custom: #402104;
$custom-light: #795c48;
$custom-dark: #000000;
JSON
{
  "hex": "#402104",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 29,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28421,
    "c": 0.06234,
    "h": 59
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#402104
secondary
#1F5281
accent
#97FE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402104

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

Preview Lab → · Contrast checker → · Palette generator →

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