#28170D#28170D

#28170D is a very dark, muted orange. Relative luminance 0.011; OKLCH L 22.5% C 0.033 H 50.9°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#28170D
RGBrgb(40, 23, 13)
HSLhsl(22, 51%, 10%)
HSVhsv(22, 68%, 16%)
CMYKcmyk(0%, 42.5%, 67.5%, 84.3%)
CIE-LABlab(9.74, 7.19, 9.28)
CIE-LCHlch(9.74, 11.74, 52.25°)
OKLaboklab(22.46% 0.0208 0.0256)
OKLCHoklch(22.46% 0.033 50.9)
XYZxyz(1.2542, 1.0931, 0.5256)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28170D #0D1E28
analogous
#280D10 #28170D #28240D
triadic
#28170D #0D2817 #170D28
tetradic
#28170D #10280D #0D1E28 #240D28
square
#28170D #10280D #0D1E28 #240D28
split-complementary
#28170D #0D2824 #0D1028
monochromatic
#170D08 #170D08 #28170D #56321C #844C2B

Accessibility & contrast

On white

17.23
#28170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28170D
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28170D#FFFFFF#000000##FFFFFF
##28170D1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190C
Deuteranopia (green-blind)
#201C0D
Tritanopia (blue-blind)
#2C1415
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28170d;
/* rgb */ color: rgb(40, 23, 13);
/* oklch */ color: oklch(22.5% 0.033 50.9);
Tailwind
colors: {
  custom: {
    50: '#63544c',
    500: '#28170d',
    950: '#000000',
  },
}
SCSS
$custom: #28170d;
$custom-light: #63544c;
$custom-dark: #000000;
JSON
{
  "hex": "#28170d",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 22.222,
    "s": 50.943,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22461,
    "c": 0.03302,
    "h": 50.9
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#28170D
secondary
#2F4F62
accent
#A6DA4D
background
#F5F4F4
surface
#EAE7E7
border
#C6C3C3
text
#050201
muted
#797877

Preview Lab

Preview with #28170D

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

Preview Lab → · Contrast checker → · Palette generator →

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