#2B170C#2B170C

#2B170C is a very dark, muted orange. Relative luminance 0.012; OKLCH L 22.9% C 0.038 H 48.9°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2B170C
RGBrgb(43, 23, 12)
HSLhsl(21, 56%, 11%)
HSVhsv(21, 72%, 17%)
CMYKcmyk(0%, 46.5%, 72.1%, 83.1%)
CIE-LABlab(10.21, 8.70, 10.47)
CIE-LCHlch(10.21, 13.61, 50.29°)
OKLaboklab(22.92% 0.0249 0.0286)
OKLCHoklch(22.92% 0.038 48.9)
XYZxyz(1.3691, 1.1531, 0.4982)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B170C #0C202B
analogous
#2B0C10 #2B170C #2B260C
triadic
#2B170C #0C2B17 #170C2B
tetradic
#2B170C #102B0C #0C202B #260C2B
square
#2B170C #102B0C #0C202B #260C2B
split-complementary
#2B170C #0C2B26 #0C102B
monochromatic
#180D07 #180D07 #2B170C #5B3119 #8B4A27

Accessibility & contrast

On white

17.06
#2B170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B170C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B170C
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B170C#FFFFFF#000000##FFFFFF
##2B170C1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190B
Deuteranopia (green-blind)
#211E0C
Tritanopia (blue-blind)
#301314
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b170c;
/* rgb */ color: rgb(43, 23, 12);
/* oklch */ color: oklch(22.9% 0.038 48.9);
Tailwind
colors: {
  custom: {
    50: '#66544c',
    500: '#2b170c',
    950: '#000000',
  },
}
SCSS
$custom: #2b170c;
$custom-light: #66544c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b170c",
  "rgb": {
    "r": 43,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 21.29,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22916,
    "c": 0.03791,
    "h": 48.9
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#2B170C
secondary
#2C5266
accent
#AAE048
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060201
muted
#7A7877

Preview Lab

Preview with #2B170C

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

Preview Lab → · Contrast checker → · Palette generator →

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