#271A02#271A02

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

Color values

HEX#271A02
RGBrgb(39, 26, 2)
HSLhsl(39, 90%, 8%)
HSVhsv(39, 95%, 15%)
CMYKcmyk(0%, 33.3%, 94.9%, 84.7%)
CIE-LABlab(10.37, 3.32, 14.73)
CIE-LCHlch(10.37, 15.10, 77.30°)
OKLaboklab(22.85% 0.007 0.0433)
OKLCHoklch(22.85% 0.044 80.9)
XYZxyz(1.2171, 1.1746, 0.2200)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A02 #020F27
analogous
#270702 #271A02 #212702
triadic
#271A02 #02271A #1A0227
tetradic
#271A02 #022707 #020F27 #270221
square
#271A02 #022707 #020F27 #270221
split-complementary
#271A02 #022127 #070227
monochromatic
#1D1301 #1D1301 #271A02 #614105 #9B6808

Accessibility & contrast

On white

17.00
#271A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#271A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A02
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A02#FFFFFF#000000##FFFFFF
##271A021.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271a02;
/* rgb */ color: rgb(39, 26, 2);
/* oklch */ color: oklch(22.9% 0.044 80.9);
Tailwind
colors: {
  custom: {
    50: '#625647',
    500: '#271a02',
    950: '#000000',
  },
}
SCSS
$custom: #271a02;
$custom-light: #625647;
$custom-dark: #000000;
JSON
{
  "hex": "#271a02",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 2
  },
  "hsl": {
    "h": 38.919,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.22854,
    "c": 0.04388,
    "h": 80.9
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#271A02
secondary
#18366C
accent
#74FF29
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #271A02

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

Preview Lab → · Contrast checker → · Palette generator →

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