#401F04#401F04

#401F04 is a dark, moderate orange. Relative luminance 0.021; OKLCH L 28.0% C 0.064 H 55.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#401F04
RGBrgb(64, 31, 4)
HSLhsl(27, 88%, 13%)
HSVhsv(27, 94%, 25%)
CMYKcmyk(0%, 51.6%, 93.8%, 74.9%)
CIE-LABlab(15.90, 13.68, 22.00)
CIE-LCHlch(15.90, 25.91, 58.13°)
OKLaboklab(28% 0.036 0.0524)
OKLCHoklch(28% 0.064 55.5)
XYZxyz(2.6265, 2.0790, 0.3778)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401F04 #042540
analogous
#400407 #401F04 #403D04
triadic
#401F04 #04401F #1F0440
tetradic
#401F04 #074004 #042540 #3D0440
square
#401F04 #074004 #042540 #3D0440
split-complementary
#401F04 #04403D #040740
monochromatic
#1D0E02 #1D0E02 #401F04 #7A3B08 #B3570B

Accessibility & contrast

On white

14.83
#401F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401F04
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401F04#FFFFFF#000000##FFFFFF
##401F041.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292301
Deuteranopia (green-blind)
#312A04
Tritanopia (blue-blind)
#47181A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401f04;
/* rgb */ color: rgb(64, 31, 4);
/* oklch */ color: oklch(28.0% 0.064 55.5);
Tailwind
colors: {
  custom: {
    50: '#795b48',
    500: '#401f04',
    950: '#000000',
  },
}
SCSS
$custom: #401f04;
$custom-light: #795b48;
$custom-dark: #000000;
JSON
{
  "hex": "#401f04",
  "rgb": {
    "r": 64,
    "g": 31,
    "b": 4
  },
  "hsl": {
    "h": 27,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28004,
    "c": 0.06357,
    "h": 55.5
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#401F04
secondary
#1F5581
accent
#9FFE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#0A0400
muted
#7C7977

Preview Lab

Preview with #401F04

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

Preview Lab → · Contrast checker → · Palette generator →

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