#AB7922#AB7922

#AB7922 is a mid, moderate orange. Relative luminance 0.224; OKLCH L 61.2% C 0.116 H 76.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB7922
RGBrgb(171, 121, 34)
HSLhsl(38, 67%, 40%)
HSVhsv(38, 80%, 67%)
CMYKcmyk(0%, 29.2%, 80.1%, 32.9%)
CIE-LABlab(54.50, 11.80, 51.97)
CIE-LCHlch(54.50, 53.29, 77.20°)
OKLaboklab(61.21% 0.0275 0.1128)
OKLCHoklch(61.21% 0.116 76.3)
XYZxyz(23.9224, 22.4502, 4.5865)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7922 #2254AB
analogous
#AB3422 #AB7922 #98AB22
triadic
#AB7922 #22AB79 #7922AB
tetradic
#AB7922 #22AB34 #2254AB #AB2298
square
#AB7922 #22AB34 #2254AB #AB2298
split-complementary
#AB7922 #2298AB #3422AB
monochromatic
#45310E #785518 #AB7922 #D79B34 #E1B467

Accessibility & contrast

On white

3.83
#AB7922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7922
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7922#FFFFFF#000000##000000
##AB79221.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab7922;
/* rgb */ color: rgb(171, 121, 34);
/* oklch */ color: oklch(61.2% 0.116 76.3);
Tailwind
colors: {
  custom: {
    50: '#c99f64',
    500: '#ab7922',
    950: '#000000',
  },
}
SCSS
$custom: #ab7922;
$custom-light: #c99f64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7922",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 38.102,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.11606,
    "h": 76.3
  },
  "luminance": 0.22448
}

Semantic roles & 50–950 ramp

primary
#AB7922
secondary
#6387C6
accent
#7DEA3E
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7922

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

Preview Lab → · Contrast checker → · Palette generator →

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