#28221E#28221E

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

Color values

HEX#28221E
RGBrgb(40, 34, 30)
HSLhsl(24, 14%, 14%)
HSVhsv(24, 25%, 16%)
CMYKcmyk(0%, 15%, 25%, 84.3%)
CIE-LABlab(13.76, 1.99, 3.74)
CIE-LCHlch(13.76, 4.24, 61.93°)
OKLaboklab(25.73% 0.0066 0.0097)
OKLCHoklch(25.73% 0.012 55.8)
XYZxyz(1.6814, 1.6890, 1.4655)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28221E #1E2428
analogous
#281E1F #28221E #28271E
triadic
#28221E #1E2822 #221E28
tetradic
#28221E #1F281E #1E2428 #271E28
square
#28221E #1F281E #1E2428 #271E28
split-complementary
#28221E #1E2827 #1E1F28
monochromatic
#110F0D #110F0D #28221E #4B4038 #6E5D52

Accessibility & contrast

On white

15.70
#28221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28221E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28221E#FFFFFF#000000##FFFFFF
##28221E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28221e;
/* rgb */ color: rgb(40, 34, 30);
/* oklch */ color: oklch(25.7% 0.012 55.8);
Tailwind
colors: {
  custom: {
    50: '#625c59',
    500: '#28221e',
    950: '#000000',
  },
}
SCSS
$custom: #28221e;
$custom-light: #625c59;
$custom-dark: #000000;
JSON
{
  "hex": "#28221e",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 24,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25733,
    "c": 0.01175,
    "h": 55.8
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#28221E
secondary
#495359
accent
#9BB771
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #28221E

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

Preview Lab → · Contrast checker → · Palette generator →

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