#271D04#271D04

#271D04 is a very dark, muted orange. Relative luminance 0.013; OKLCH L 23.7% C 0.042 H 87.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#271D04
RGBrgb(39, 29, 4)
HSLhsl(43, 81%, 8%)
HSVhsv(43, 90%, 15%)
CMYKcmyk(0%, 25.6%, 89.7%, 84.7%)
CIE-LABlab(11.41, 1.38, 15.36)
CIE-LCHlch(11.41, 15.42, 84.86°)
OKLaboklab(23.68% 0.002 0.0424)
OKLCHoklch(23.68% 0.042 87.4)
XYZxyz(1.2981, 1.3189, 0.3010)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271D04 #040E27
analogous
#270B04 #271D04 #1F2704
triadic
#271D04 #04271D #1D0427
tetradic
#271D04 #04270B #040E27 #27041F
square
#271D04 #04270B #040E27 #27041F
split-complementary
#271D04 #041F27 #0B0427
monochromatic
#1C1503 #1C1503 #271D04 #5F460A #96700F

Accessibility & contrast

On white

16.62
#271D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#271D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271D04
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271D04#FFFFFF#000000##FFFFFF
##271D041.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#241F05
Tritanopia (blue-blind)
#2B1A18
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #271d04;
/* rgb */ color: rgb(39, 29, 4);
/* oklch */ color: oklch(23.7% 0.042 87.4);
Tailwind
colors: {
  custom: {
    50: '#625848',
    500: '#271d04',
    950: '#000000',
  },
}
SCSS
$custom: #271d04;
$custom-light: #625848;
$custom-dark: #000000;
JSON
{
  "hex": "#271d04",
  "rgb": {
    "r": 39,
    "g": 29,
    "b": 4
  },
  "hsl": {
    "h": 42.857,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23679,
    "c": 0.04241,
    "h": 87.4
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#271D04
secondary
#1D336A
accent
#69F830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #271D04

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

Preview Lab → · Contrast checker → · Palette generator →

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