#271F0D#271F0D

#271F0D is a very dark, muted orange. Relative luminance 0.014; OKLCH L 24.4% C 0.033 H 86.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#271F0D
RGBrgb(39, 31, 13)
HSLhsl(42, 50%, 10%)
HSVhsv(42, 67%, 15%)
CMYKcmyk(0%, 20.5%, 66.7%, 84.7%)
CIE-LABlab(12.22, 0.89, 12.71)
CIE-LCHlch(12.22, 12.74, 85.98°)
OKLaboklab(24.37% 0.0023 0.0325)
OKLCHoklch(24.37% 0.033 86)
XYZxyz(1.3994, 1.4404, 0.5850)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F0D #0D1527
analogous
#27120D #271F0D #22270D
triadic
#271F0D #0D271F #1F0D27
tetradic
#271F0D #0D2712 #0D1527 #270D22
square
#271F0D #0D2712 #0D1527 #270D22
split-complementary
#271F0D #0D2227 #120D27
monochromatic
#171208 #171208 #271F0D #55431C #83682C

Accessibility & contrast

On white

16.30
#271F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#271F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271F0D
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F0D#FFFFFF#000000##FFFFFF
##271F0D1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0B
Deuteranopia (green-blind)
#25210E
Tritanopia (blue-blind)
#2B1C1B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271f0d;
/* rgb */ color: rgb(39, 31, 13);
/* oklch */ color: oklch(24.4% 0.033 86.0);
Tailwind
colors: {
  custom: {
    50: '#625a4c',
    500: '#271f0d',
    950: '#000000',
  },
}
SCSS
$custom: #271f0d;
$custom-light: #625a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#271f0d",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 13
  },
  "hsl": {
    "h": 41.538,
    "s": 50,
    "l": 10.196
  },
  "oklch": {
    "l": 0.24366,
    "c": 0.03253,
    "h": 86
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#271F0D
secondary
#2F3E61
accent
#79DA4E
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050301
muted
#797877

Preview Lab

Preview with #271F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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