#AB7828#AB7828

#AB7828 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 61.1% C 0.113 H 74.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB7828
RGBrgb(171, 120, 40)
HSLhsl(37, 62%, 41%)
HSVhsv(37, 77%, 67%)
CMYKcmyk(0%, 29.8%, 76.6%, 32.9%)
CIE-LABlab(54.29, 12.61, 49.36)
CIE-LCHlch(54.29, 50.95, 75.67°)
OKLaboklab(61.06% 0.0306 0.1086)
OKLCHoklch(61.06% 0.113 74.3)
XYZxyz(23.8958, 22.2461, 5.0425)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7828 #285BAB
analogous
#AB3728 #AB7828 #9DAB28
triadic
#AB7828 #28AB78 #7828AB
tetradic
#AB7828 #28AB37 #285BAB #AB289D
square
#AB7828 #28AB37 #285BAB #AB289D
split-complementary
#AB7828 #289DAB #3728AB
monochromatic
#483211 #79551C #AB7828 #D2983E #DEB370

Accessibility & contrast

On white

3.85
#AB7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AB7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7828
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7828#FFFFFF#000000##000000
##AB78281.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1C
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#BA6B68
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab7828;
/* rgb */ color: rgb(171, 120, 40);
/* oklch */ color: oklch(61.1% 0.113 74.3);
Tailwind
colors: {
  custom: {
    50: '#c99e68',
    500: '#ab7828',
    950: '#000000',
  },
}
SCSS
$custom: #ab7828;
$custom-light: #c99e68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7828",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 36.641,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.11279,
    "h": 74.3
  },
  "luminance": 0.22244
}

Semantic roles & 50–950 ramp

primary
#AB7828
secondary
#6A8DC4
accent
#82E543
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7828

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

Preview Lab → · Contrast checker → · Palette generator →

#AB7828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva