#AB7221#AB7221

#AB7221 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.8% C 0.116 H 70.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB7221
RGBrgb(171, 114, 33)
HSLhsl(35, 68%, 40%)
HSVhsv(35, 81%, 67%)
CMYKcmyk(0%, 33.3%, 80.7%, 32.9%)
CIE-LABlab(52.73, 15.70, 50.73)
CIE-LCHlch(52.73, 53.10, 72.80°)
OKLaboklab(59.83% 0.0387 0.1098)
OKLCHoklch(59.83% 0.116 70.6)
XYZxyz(23.0882, 20.8045, 4.2383)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7221 #215AAB
analogous
#AB2D21 #AB7221 #9FAB21
triadic
#AB7221 #21AB72 #7221AB
tetradic
#AB7221 #21AB2D #215AAB #AB219F
square
#AB7221 #21AB2D #215AAB #AB219F
split-complementary
#AB7221 #219FAB #2D21AB
monochromatic
#442E0D #785017 #AB7221 #D79332 #E1AE65

Accessibility & contrast

On white

4.07
#AB7221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AB7221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7221
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7221#FFFFFF#000000##000000
##AB72211.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#BB6462
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7221;
/* rgb */ color: rgb(171, 114, 33);
/* oklch */ color: oklch(59.8% 0.116 70.6);
Tailwind
colors: {
  custom: {
    50: '#c99a63',
    500: '#ab7221',
    950: '#000000',
  },
}
SCSS
$custom: #ab7221;
$custom-light: #c99a63;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7221",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 35.217,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.11646,
    "h": 70.6
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#AB7221
secondary
#618BC7
accent
#85EB3D
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7221

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

Preview Lab → · Contrast checker → · Palette generator →

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