#AB7222#AB7222

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

Color values

HEX#AB7222
RGBrgb(171, 114, 34)
HSLhsl(35, 67%, 40%)
HSVhsv(35, 80%, 67%)
CMYKcmyk(0%, 33.3%, 80.1%, 32.9%)
CIE-LABlab(52.74, 15.74, 50.34)
CIE-LCHlch(52.74, 52.75, 72.64°)
OKLaboklab(59.84% 0.039 0.1093)
OKLCHoklch(59.84% 0.116 70.4)
XYZxyz(23.1024, 20.8102, 4.3131)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7222 #225BAB
analogous
#AB2D22 #AB7222 #A0AB22
triadic
#AB7222 #22AB72 #7222AB
tetradic
#AB7222 #22AB2D #225BAB #AB22A0
square
#AB7222 #22AB2D #225BAB #AB22A0
split-complementary
#AB7222 #22A0AB #2D22AB
monochromatic
#452E0E #785018 #AB7222 #D79334 #E1AE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7222#FFFFFF#000000##000000
##AB72221.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)
#857614
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#BB6462
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7222;
/* rgb */ color: rgb(171, 114, 34);
/* oklch */ color: oklch(59.8% 0.116 70.4);
Tailwind
colors: {
  custom: {
    50: '#c99a64',
    500: '#ab7222',
    950: '#000000',
  },
}
SCSS
$custom: #ab7222;
$custom-light: #c99a64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7222",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 35.036,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.116,
    "h": 70.4
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#AB7222
secondary
#638CC6
accent
#85EA3E
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7222

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

Preview Lab → · Contrast checker → · Palette generator →

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