#271F18#271F18

#271F18 is a very dark, near-neutral orange. Relative luminance 0.015; OKLCH L 24.6% C 0.018 H 63.0°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#271F18
RGBrgb(39, 31, 24)
HSLhsl(28, 24%, 12%)
HSVhsv(28, 38%, 15%)
CMYKcmyk(0%, 20.5%, 38.5%, 84.7%)
CIE-LABlab(12.46, 2.50, 6.23)
CIE-LCHlch(12.46, 6.71, 68.16°)
OKLaboklab(24.63% 0.0081 0.0159)
OKLCHoklch(24.63% 0.018 63)
XYZxyz(1.4916, 1.4773, 1.0706)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F18 #182027
analogous
#271818 #271F18 #272718
triadic
#271F18 #18271F #1F1827
tetradic
#271F18 #182718 #182027 #271827
square
#271F18 #182718 #182027 #271827
split-complementary
#271F18 #182727 #181827
monochromatic
#130F0C #130F0C #271F18 #4D3D2F #735B47

Accessibility & contrast

On white

16.21
#271F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#271F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271F18
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F18#FFFFFF#000000##FFFFFF
##271F181.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F18
Deuteranopia (green-blind)
#232118
Tritanopia (blue-blind)
#2A1D1D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271f18;
/* rgb */ color: rgb(39, 31, 24);
/* oklch */ color: oklch(24.6% 0.018 63.0);
Tailwind
colors: {
  custom: {
    50: '#615a54',
    500: '#271f18',
    950: '#000000',
  },
}
SCSS
$custom: #271f18;
$custom-light: #615a54;
$custom-dark: #000000;
JSON
{
  "hex": "#271f18",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 28,
    "s": 23.81,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24631,
    "c": 0.0178,
    "h": 63
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#271F18
secondary
#404E5A
accent
#97C068
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#050302
muted
#797878

Preview Lab

Preview with #271F18

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

Preview Lab → · Contrast checker → · Palette generator →

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