#401B04#401B04

#401B04 is a dark, moderate orange. Relative luminance 0.019; OKLCH L 27.2% C 0.067 H 49.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#401B04
RGBrgb(64, 27, 4)
HSLhsl(23, 88%, 13%)
HSVhsv(23, 94%, 25%)
CMYKcmyk(0%, 57.8%, 93.8%, 74.9%)
CIE-LABlab(14.86, 16.24, 20.69)
CIE-LCHlch(14.86, 26.30, 51.86°)
OKLaboklab(27.21% 0.0437 0.0504)
OKLCHoklch(27.21% 0.067 49.1)
XYZxyz(2.5285, 1.8829, 0.3451)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B04 #042940
analogous
#40040B #401B04 #403904
triadic
#401B04 #04401B #1B0440
tetradic
#401B04 #0B4004 #042940 #390440
square
#401B04 #0B4004 #042940 #390440
split-complementary
#401B04 #044039 #040B40
monochromatic
#1D0C02 #1D0C02 #401B04 #7A3308 #B34C0B

Accessibility & contrast

On white

15.25
#401B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B04
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B04#FFFFFF#000000##FFFFFF
##401B041.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262002
Deuteranopia (green-blind)
#2F2903
Tritanopia (blue-blind)
#471316
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401b04;
/* rgb */ color: rgb(64, 27, 4);
/* oklch */ color: oklch(27.2% 0.067 49.1);
Tailwind
colors: {
  custom: {
    50: '#795848',
    500: '#401b04',
    950: '#000000',
  },
}
SCSS
$custom: #401b04;
$custom-light: #795848;
$custom-dark: #000000;
JSON
{
  "hex": "#401b04",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 4
  },
  "hsl": {
    "h": 23,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27209,
    "c": 0.06668,
    "h": 49.1
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#401B04
secondary
#1F5B81
accent
#ADFE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#0A0300
muted
#7C7877

Preview Lab

Preview with #401B04

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

Preview Lab → · Contrast checker → · Palette generator →

#401B04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva