#2F170C#2F170C

#2F170C is a very dark, muted orange. Relative luminance 0.012; OKLCH L 23.6% C 0.043 H 44.7°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2F170C
RGBrgb(47, 23, 12)
HSLhsl(19, 59%, 12%)
HSVhsv(19, 74%, 18%)
CMYKcmyk(0%, 51.1%, 74.5%, 81.6%)
CIE-LABlab(10.88, 10.82, 11.51)
CIE-LCHlch(10.88, 15.79, 46.78°)
OKLaboklab(23.57% 0.0309 0.0306)
OKLCHoklch(23.57% 0.043 44.7)
XYZxyz(1.5452, 1.2438, 0.5065)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F170C #0C242F
analogous
#2F0C13 #2F170C #2F290C
triadic
#2F170C #0C2F17 #170C2F
tetradic
#2F170C #132F0C #0C242F #290C2F
square
#2F170C #132F0C #0C242F #290C2F
split-complementary
#2F170C #0C2F29 #0C132F
monochromatic
#180C06 #180C06 #2F170C #602F18 #914725

Accessibility & contrast

On white

16.82
#2F170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F170C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F170C
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F170C#FFFFFF#000000##FFFFFF
##2F170C1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1A0B
Deuteranopia (green-blind)
#231F0C
Tritanopia (blue-blind)
#341314
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f170c;
/* rgb */ color: rgb(47, 23, 12);
/* oklch */ color: oklch(23.6% 0.043 44.7);
Tailwind
colors: {
  custom: {
    50: '#69544c',
    500: '#2f170c',
    950: '#000000',
  },
}
SCSS
$custom: #2f170c;
$custom-light: #69544c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f170c",
  "rgb": {
    "r": 47,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 18.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23574,
    "c": 0.04349,
    "h": 44.7
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#2F170C
secondary
#2C576B
accent
#B1E345
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060201
muted
#7A7877

Preview Lab

Preview with #2F170C

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

Preview Lab → · Contrast checker → · Palette generator →

#2F170C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva