#271B08#271B08

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

Color values

HEX#271B08
RGBrgb(39, 27, 8)
HSLhsl(37, 66%, 9%)
HSVhsv(37, 79%, 15%)
CMYKcmyk(0%, 30.8%, 79.5%, 84.7%)
CIE-LABlab(10.80, 3.22, 12.89)
CIE-LCHlch(10.80, 13.28, 75.97°)
OKLaboklab(23.22% 0.0082 0.0354)
OKLCHoklch(23.22% 0.036 76.9)
XYZxyz(1.2725, 1.2328, 0.4006)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271B08 #081427
analogous
#270C08 #271B08 #242708
triadic
#271B08 #08271B #1B0827
tetradic
#271B08 #08270C #081427 #270824
square
#271B08 #08270C #081427 #270824
split-complementary
#271B08 #082427 #0C0827
monochromatic
#191205 #191205 #271B08 #5A3E12 #8D611D

Accessibility & contrast

On white

16.85
#271B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#271B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271B08
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271B08#FFFFFF#000000##FFFFFF
##271B081.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B06
Deuteranopia (green-blind)
#221E09
Tritanopia (blue-blind)
#2B1817
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #271b08;
/* rgb */ color: rgb(39, 27, 8);
/* oklch */ color: oklch(23.2% 0.036 76.9);
Tailwind
colors: {
  custom: {
    50: '#62574a',
    500: '#271b08',
    950: '#000000',
  },
}
SCSS
$custom: #271b08;
$custom-light: #62574a;
$custom-dark: #000000;
JSON
{
  "hex": "#271b08",
  "rgb": {
    "r": 39,
    "g": 27,
    "b": 8
  },
  "hsl": {
    "h": 36.774,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2322,
    "c": 0.03634,
    "h": 76.9
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#271B08
secondary
#253E65
accent
#81E93F
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050301
muted
#797877

Preview Lab

Preview with #271B08

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

Preview Lab → · Contrast checker → · Palette generator →

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