#401D07#401D07

#401D07 is a dark, moderate orange. Relative luminance 0.020; OKLCH L 27.6% C 0.063 H 49.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#401D07
RGBrgb(64, 29, 7)
HSLhsl(23, 80%, 14%)
HSVhsv(23, 89%, 25%)
CMYKcmyk(0%, 54.7%, 89.1%, 74.9%)
CIE-LABlab(15.41, 15.14, 20.16)
CIE-LCHlch(15.41, 25.21, 53.10°)
OKLaboklab(27.64% 0.0411 0.0482)
OKLCHoklch(27.64% 0.063 49.5)
XYZxyz(2.5923, 1.9844, 0.4475)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401D07 #072A40
analogous
#40070E #401D07 #403A07
triadic
#401D07 #07401D #1D0740
tetradic
#401D07 #0E4007 #072A40 #3A0740
square
#401D07 #0E4007 #072A40 #3A0740
split-complementary
#401D07 #07403A #070E40
monochromatic
#1C0C03 #1C0C03 #401D07 #77360D #AE4F13

Accessibility & contrast

On white

15.03
#401D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401D07
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401D07#FFFFFF#000000##FFFFFF
##401D071.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272205
Deuteranopia (green-blind)
#2F2A07
Tritanopia (blue-blind)
#471518
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401d07;
/* rgb */ color: rgb(64, 29, 7);
/* oklch */ color: oklch(27.6% 0.063 49.5);
Tailwind
colors: {
  custom: {
    50: '#79594a',
    500: '#401d07',
    950: '#000000',
  },
}
SCSS
$custom: #401d07;
$custom-light: #79594a;
$custom-dark: #000000;
JSON
{
  "hex": "#401d07",
  "rgb": {
    "r": 64,
    "g": 29,
    "b": 7
  },
  "hsl": {
    "h": 23.158,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.27637,
    "c": 0.06331,
    "h": 49.5
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#401D07
secondary
#245C7F
accent
#AAF731
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #401D07

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

Preview Lab → · Contrast checker → · Palette generator →

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