#28170B#28170B

#28170B is a very dark, muted orange. Relative luminance 0.011; OKLCH L 22.4% C 0.035 H 55.2°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#28170B
RGBrgb(40, 23, 11)
HSLhsl(25, 57%, 10%)
HSVhsv(25, 73%, 16%)
CMYKcmyk(0%, 42.5%, 72.5%, 84.3%)
CIE-LABlab(9.71, 6.97, 10.14)
CIE-LCHlch(9.71, 12.30, 55.49°)
OKLaboklab(22.42% 0.0198 0.0285)
OKLCHoklch(22.42% 0.035 55.2)
XYZxyz(1.2420, 1.0882, 0.4612)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28170B #0B1C28
analogous
#280B0D #28170B #28260B
triadic
#28170B #0B2817 #170B28
tetradic
#28170B #0D280B #0B1C28 #260B28
square
#28170B #0D280B #0B1C28 #260B28
split-complementary
#28170B #0B2826 #0B0D28
monochromatic
#180E07 #180E07 #28170B #583318 #884E25

Accessibility & contrast

On white

17.25
#28170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#28170B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28170B
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28170B#FFFFFF#000000##FFFFFF
##28170B1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190A
Deuteranopia (green-blind)
#201C0B
Tritanopia (blue-blind)
#2C1414
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28170b;
/* rgb */ color: rgb(40, 23, 11);
/* oklch */ color: oklch(22.4% 0.035 55.2);
Tailwind
colors: {
  custom: {
    50: '#63544b',
    500: '#28170b',
    950: '#000000',
  },
}
SCSS
$custom: #28170b;
$custom-light: #63544b;
$custom-dark: #000000;
JSON
{
  "hex": "#28170b",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 24.828,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.22419,
    "c": 0.03471,
    "h": 55.2
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#28170B
secondary
#2B4C64
accent
#A1E048
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050201
muted
#7A7877

Preview Lab

Preview with #28170B

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

Preview Lab → · Contrast checker → · Palette generator →

#28170B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva