#271F0C#271F0C

#271F0C is a very dark, muted orange. Relative luminance 0.014; OKLCH L 24.3% C 0.034 H 87.0°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#271F0C
RGBrgb(39, 31, 12)
HSLhsl(42, 53%, 10%)
HSVhsv(42, 69%, 15%)
CMYKcmyk(0%, 20.5%, 69.2%, 84.7%)
CIE-LABlab(12.21, 0.78, 13.15)
CIE-LCHlch(12.21, 13.18, 86.61°)
OKLaboklab(24.35% 0.0018 0.0338)
OKLCHoklch(24.35% 0.034 87)
XYZxyz(1.3931, 1.4379, 0.5519)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F0C #0C1427
analogous
#27110C #271F0C #22270C
triadic
#271F0C #0C271F #1F0C27
tetradic
#271F0C #0C2711 #0C1427 #270C22
square
#271F0C #0C2711 #0C1427 #270C22
split-complementary
#271F0C #0C2227 #110C27
monochromatic
#171307 #171307 #271F0C #56441A #856929

Accessibility & contrast

On white

16.31
#271F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271F0C
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F0C#FFFFFF#000000##FFFFFF
##271F0C1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271f0c;
/* rgb */ color: rgb(39, 31, 12);
/* oklch */ color: oklch(24.3% 0.034 87.0);
Tailwind
colors: {
  custom: {
    50: '#625a4c',
    500: '#271f0c',
    950: '#000000',
  },
}
SCSS
$custom: #271f0c;
$custom-light: #625a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#271f0c",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 42.222,
    "s": 52.941,
    "l": 10
  },
  "oklch": {
    "l": 0.24348,
    "c": 0.0338,
    "h": 87
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#271F0C
secondary
#2D3D62
accent
#76DC4B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050301
muted
#797877

Preview Lab

Preview with #271F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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