#401F08#401F08

#401F08 is a dark, moderate orange. Relative luminance 0.021; OKLCH L 28.1% C 0.061 H 52.1°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#401F08
RGBrgb(64, 31, 8)
HSLhsl(25, 78%, 14%)
HSVhsv(25, 88%, 25%)
CMYKcmyk(0%, 51.6%, 87.5%, 74.9%)
CIE-LABlab(15.94, 13.90, 20.43)
CIE-LCHlch(15.94, 24.71, 55.76°)
OKLaboklab(28.05% 0.0376 0.0483)
OKLCHoklch(28.05% 0.061 52.1)
XYZxyz(2.6484, 2.0878, 0.4932)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401F08 #082940
analogous
#40080D #401F08 #403B08
triadic
#401F08 #08401F #1F0840
tetradic
#401F08 #0D4008 #082940 #3B0840
square
#401F08 #0D4008 #082940 #3B0840
split-complementary
#401F08 #08403B #080D40
monochromatic
#1B0D03 #1B0D03 #401F08 #76390F #AD5416

Accessibility & contrast

On white

14.82
#401F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401F08
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401F08#FFFFFF#000000##FFFFFF
##401F081.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292306
Deuteranopia (green-blind)
#302B08
Tritanopia (blue-blind)
#47181A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401f08;
/* rgb */ color: rgb(64, 31, 8);
/* oklch */ color: oklch(28.1% 0.061 52.1);
Tailwind
colors: {
  custom: {
    50: '#785b4a',
    500: '#401f08',
    950: '#000000',
  },
}
SCSS
$custom: #401f08;
$custom-light: #785b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#401f08",
  "rgb": {
    "r": 64,
    "g": 31,
    "b": 8
  },
  "hsl": {
    "h": 24.643,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28052,
    "c": 0.06118,
    "h": 52.1
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#401F08
secondary
#255A7E
accent
#A5F434
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #401F08

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

Preview Lab → · Contrast checker → · Palette generator →

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