#271B04#271B04

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

Color values

HEX#271B04
RGBrgb(39, 27, 4)
HSLhsl(39, 81%, 8%)
HSVhsv(39, 90%, 15%)
CMYKcmyk(0%, 30.8%, 89.7%, 84.7%)
CIE-LABlab(10.73, 2.81, 14.43)
CIE-LCHlch(10.73, 14.70, 78.99°)
OKLaboklab(23.15% 0.0061 0.041)
OKLCHoklch(23.15% 0.041 81.6)
XYZxyz(1.2506, 1.2241, 0.2852)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271B04 #041027
analogous
#270904 #271B04 #212704
triadic
#271B04 #04271B #1B0427
tetradic
#271B04 #042709 #041027 #270421
square
#271B04 #042709 #041027 #270421
split-complementary
#271B04 #042127 #090427
monochromatic
#1C1303 #1C1303 #271B04 #5F410A #96680F

Accessibility & contrast

On white

16.87
#271B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271B04
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271B04#FFFFFF#000000##FFFFFF
##271B041.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B02
Deuteranopia (green-blind)
#231E05
Tritanopia (blue-blind)
#2B1716
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #271b04;
/* rgb */ color: rgb(39, 27, 4);
/* oklch */ color: oklch(23.2% 0.041 81.6);
Tailwind
colors: {
  custom: {
    50: '#625748',
    500: '#271b04',
    950: '#000000',
  },
}
SCSS
$custom: #271b04;
$custom-light: #625748;
$custom-dark: #000000;
JSON
{
  "hex": "#271b04",
  "rgb": {
    "r": 39,
    "g": 27,
    "b": 4
  },
  "hsl": {
    "h": 39.429,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2315,
    "c": 0.04142,
    "h": 81.6
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#271B04
secondary
#1D376A
accent
#75F830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #271B04

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

Preview Lab → · Contrast checker → · Palette generator →

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