#271A04#271A04

#271A04 is a very dark, muted orange. Relative luminance 0.012; OKLCH L 22.9% C 0.041 H 78.5°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#271A04
RGBrgb(39, 26, 4)
HSLhsl(38, 81%, 8%)
HSVhsv(38, 90%, 15%)
CMYKcmyk(0%, 33.3%, 89.7%, 84.7%)
CIE-LABlab(10.40, 3.53, 13.96)
CIE-LCHlch(10.40, 14.40, 75.82°)
OKLaboklab(22.89% 0.0082 0.0403)
OKLCHoklch(22.89% 0.041 78.5)
XYZxyz(1.2281, 1.1790, 0.2777)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A04 #041127
analogous
#270804 #271A04 #222704
triadic
#271A04 #04271A #1A0427
tetradic
#271A04 #042708 #041127 #270422
square
#271A04 #042708 #041127 #270422
split-complementary
#271A04 #042227 #080427
monochromatic
#1C1303 #1C1303 #271A04 #5F3F0A #96640F

Accessibility & contrast

On white

16.99
#271A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#271A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A04
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A04#FFFFFF#000000##FFFFFF
##271A041.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A02
Deuteranopia (green-blind)
#221E05
Tritanopia (blue-blind)
#2B1615
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #271a04;
/* rgb */ color: rgb(39, 26, 4);
/* oklch */ color: oklch(22.9% 0.041 78.5);
Tailwind
colors: {
  custom: {
    50: '#625648',
    500: '#271a04',
    950: '#000000',
  },
}
SCSS
$custom: #271a04;
$custom-light: #625648;
$custom-dark: #000000;
JSON
{
  "hex": "#271a04",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 4
  },
  "hsl": {
    "h": 37.714,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2289,
    "c": 0.04109,
    "h": 78.5
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#271A04
secondary
#1D3A6A
accent
#7AF830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #271A04

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

Preview Lab → · Contrast checker → · Palette generator →

#271A04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva