#271804#271804

#271804 is a very dark, muted orange. Relative luminance 0.011; OKLCH L 22.4% C 0.041 H 72.4°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#271804
RGBrgb(39, 24, 4)
HSLhsl(34, 81%, 8%)
HSVhsv(34, 90%, 15%)
CMYKcmyk(0%, 38.5%, 89.7%, 84.7%)
CIE-LABlab(9.75, 4.97, 13.04)
CIE-LCHlch(9.75, 13.95, 69.13°)
OKLaboklab(22.38% 0.0124 0.0389)
OKLCHoklch(22.38% 0.041 72.4)
XYZxyz(1.1853, 1.0935, 0.2635)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271804 #041327
analogous
#270604 #271804 #242704
triadic
#271804 #042718 #180427
tetradic
#271804 #042706 #041327 #270424
square
#271804 #042706 #041327 #270424
split-complementary
#271804 #042427 #060427
monochromatic
#1C1103 #1C1103 #271804 #5F3A0A #965C0F

Accessibility & contrast

On white

17.23
#271804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#271804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271804
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271804#FFFFFF#000000##FFFFFF
##2718041.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1903
Deuteranopia (green-blind)
#211C04
Tritanopia (blue-blind)
#2B1414
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #271804;
/* rgb */ color: rgb(39, 24, 4);
/* oklch */ color: oklch(22.4% 0.041 72.4);
Tailwind
colors: {
  custom: {
    50: '#625448',
    500: '#271804',
    950: '#000000',
  },
}
SCSS
$custom: #271804;
$custom-light: #625448;
$custom-dark: #000000;
JSON
{
  "hex": "#271804",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 4
  },
  "hsl": {
    "h": 34.286,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.22378,
    "c": 0.0408,
    "h": 72.4
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#271804
secondary
#1D3E6A
accent
#86F830
background
#F5F4F4
surface
#EAE7E6
border
#C6C3C2
text
#050200
muted
#797877

Preview Lab

Preview with #271804

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

Preview Lab → · Contrast checker → · Palette generator →

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