#28170C#28170C

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

Color values

HEX#28170C
RGBrgb(40, 23, 12)
HSLhsl(24, 54%, 10%)
HSVhsv(24, 70%, 16%)
CMYKcmyk(0%, 42.5%, 70%, 84.3%)
CIE-LABlab(9.72, 7.07, 9.72)
CIE-LCHlch(9.72, 12.02, 53.96°)
OKLaboklab(22.44% 0.0203 0.0271)
OKLCHoklch(22.44% 0.034 53.1)
XYZxyz(1.2479, 1.0906, 0.4925)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28170C #0C1D28
analogous
#280C0F #28170C #28250C
triadic
#28170C #0C2817 #170C28
tetradic
#28170C #0F280C #0C1D28 #250C28
square
#28170C #0F280C #0C1D28 #250C28
split-complementary
#28170C #0C2825 #0C0F28
monochromatic
#180E07 #180E07 #28170C #57321A #864D28

Accessibility & contrast

On white

17.24
#28170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28170C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28170C#FFFFFF#000000##FFFFFF
##28170C1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28170c;
/* rgb */ color: rgb(40, 23, 12);
/* oklch */ color: oklch(22.4% 0.034 53.1);
Tailwind
colors: {
  custom: {
    50: '#63544c',
    500: '#28170c',
    950: '#000000',
  },
}
SCSS
$custom: #28170c;
$custom-light: #63544c;
$custom-dark: #000000;
JSON
{
  "hex": "#28170c",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 23.571,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22439,
    "c": 0.03385,
    "h": 53.1
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#28170C
secondary
#2D4E63
accent
#A4DD4B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050201
muted
#7A7877

Preview Lab

Preview with #28170C

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

Preview Lab → · Contrast checker → · Palette generator →

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