#401707#401707

#401707 is a dark, moderate orange. Relative luminance 0.017; OKLCH L 26.5% C 0.069 H 40.7°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#401707
RGBrgb(64, 23, 7)
HSLhsl(17, 80%, 14%)
HSVhsv(17, 89%, 25%)
CMYKcmyk(0%, 64.1%, 89.1%, 74.9%)
CIE-LABlab(13.93, 18.86, 18.26)
CIE-LCHlch(13.93, 26.25, 44.07°)
OKLaboklab(26.52% 0.0524 0.045)
OKLCHoklch(26.52% 0.069 40.7)
XYZxyz(2.4594, 1.7184, 0.4032)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401707 #073040
analogous
#400714 #401707 #403407
triadic
#401707 #074017 #170740
tetradic
#401707 #144007 #073040 #340740
square
#401707 #144007 #073040 #340740
split-complementary
#401707 #074034 #071440
monochromatic
#1C0A03 #1C0A03 #401707 #772B0D #AE3F13

Accessibility & contrast

On white

15.63
#401707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401707
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401707#FFFFFF#000000##FFFFFF
##4017071.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E05
Deuteranopia (green-blind)
#2D2706
Tritanopia (blue-blind)
#470E14
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401707;
/* rgb */ color: rgb(64, 23, 7);
/* oklch */ color: oklch(26.5% 0.069 40.7);
Tailwind
colors: {
  custom: {
    50: '#79554a',
    500: '#401707',
    950: '#000000',
  },
}
SCSS
$custom: #401707;
$custom-light: #79554a;
$custom-dark: #000000;
JSON
{
  "hex": "#401707",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 7
  },
  "hsl": {
    "h": 16.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26515,
    "c": 0.06909,
    "h": 40.7
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#401707
secondary
#24657F
accent
#BFF731
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #401707

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

Preview Lab → · Contrast checker → · Palette generator →

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