#AB7822#AB7822

#AB7822 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 61.0% C 0.116 H 75.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB7822
RGBrgb(171, 120, 34)
HSLhsl(38, 67%, 40%)
HSVhsv(38, 80%, 67%)
CMYKcmyk(0%, 29.8%, 80.1%, 32.9%)
CIE-LABlab(54.25, 12.37, 51.73)
CIE-LCHlch(54.25, 53.19, 76.56°)
OKLaboklab(61.01% 0.0291 0.1123)
OKLCHoklch(61.01% 0.116 75.5)
XYZxyz(23.8015, 22.2084, 4.5462)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7822 #2255AB
analogous
#AB3322 #AB7822 #9AAB22
triadic
#AB7822 #22AB78 #7822AB
tetradic
#AB7822 #22AB33 #2255AB #AB229A
square
#AB7822 #22AB33 #2255AB #AB229A
split-complementary
#AB7822 #229AAB #3322AB
monochromatic
#45300E #785418 #AB7822 #D79A34 #E1B367

Accessibility & contrast

On white

3.86
#AB7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7822
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7822#FFFFFF#000000##000000
##AB78221.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A12
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#BB6A67
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab7822;
/* rgb */ color: rgb(171, 120, 34);
/* oklch */ color: oklch(61.0% 0.116 75.5);
Tailwind
colors: {
  custom: {
    50: '#c99e64',
    500: '#ab7822',
    950: '#000000',
  },
}
SCSS
$custom: #ab7822;
$custom-light: #c99e64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7822",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 37.664,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61011,
    "c": 0.11597,
    "h": 75.5
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#AB7822
secondary
#6388C6
accent
#7EEA3E
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7822

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

Preview Lab → · Contrast checker → · Palette generator →

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