#28221C#28221C

#28221C is a dark, near-neutral orange. Relative luminance 0.017; OKLCH L 25.7% C 0.014 H 67.1°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#28221C
RGBrgb(40, 34, 28)
HSLhsl(30, 18%, 13%)
HSVhsv(30, 30%, 16%)
CMYKcmyk(0%, 15%, 30%, 84.3%)
CIE-LABlab(13.70, 1.60, 5.09)
CIE-LCHlch(13.70, 5.34, 72.51°)
OKLaboklab(25.67% 0.0055 0.0131)
OKLCHoklch(25.67% 0.014 67.1)
XYZxyz(1.6567, 1.6791, 1.3352)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28221C #1C2228
analogous
#281C1C #28221C #28281C
triadic
#28221C #1C2822 #221C28
tetradic
#28221C #1C281C #1C2228 #281C28
square
#28221C #1C281C #1C2228 #281C28
split-complementary
#28221C #1C2828 #1C1C28
monochromatic
#120F0D #120F0D #28221C #4C4135 #705F4E

Accessibility & contrast

On white

15.72
#28221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#28221C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28221C
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28221C#FFFFFF#000000##FFFFFF
##28221C1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221C
Deuteranopia (green-blind)
#25241C
Tritanopia (blue-blind)
#2A2120
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #28221c;
/* rgb */ color: rgb(40, 34, 28);
/* oklch */ color: oklch(25.7% 0.014 67.1);
Tailwind
colors: {
  custom: {
    50: '#625c58',
    500: '#28221c',
    950: '#000000',
  },
}
SCSS
$custom: #28221c;
$custom-light: #625c58;
$custom-dark: #000000;
JSON
{
  "hex": "#28221c",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 30,
    "s": 17.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25668,
    "c": 0.01423,
    "h": 67.1
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#28221C
secondary
#46505A
accent
#94BA6D
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #28221C

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

Preview Lab → · Contrast checker → · Palette generator →

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