#AB7A22#AB7A22

#AB7A22 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.4% C 0.116 H 77.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB7A22
RGBrgb(171, 122, 34)
HSLhsl(39, 67%, 40%)
HSVhsv(39, 80%, 67%)
CMYKcmyk(0%, 28.7%, 80.1%, 32.9%)
CIE-LABlab(54.76, 11.24, 52.20)
CIE-LCHlch(54.76, 53.40, 77.85°)
OKLaboklab(61.41% 0.0258 0.1133)
OKLCHoklch(61.41% 0.116 77.1)
XYZxyz(24.0446, 22.6945, 4.6272)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A22 #2253AB
analogous
#AB3522 #AB7A22 #97AB22
triadic
#AB7A22 #22AB7A #7A22AB
tetradic
#AB7A22 #22AB35 #2253AB #AB2297
square
#AB7A22 #22AB35 #2253AB #AB2297
split-complementary
#AB7A22 #2297AB #3522AB
monochromatic
#45310E #785618 #AB7A22 #D79C34 #E1B567

Accessibility & contrast

On white

3.79
#AB7A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AB7A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7A22
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7A22#FFFFFF#000000##000000
##AB7A221.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C12
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#BA6D69
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7a22;
/* rgb */ color: rgb(171, 122, 34);
/* oklch */ color: oklch(61.4% 0.116 77.1);
Tailwind
colors: {
  custom: {
    50: '#c9a065',
    500: '#ab7a22',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a22;
$custom-light: #c9a065;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a22",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 38.54,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.11618,
    "h": 77.1
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#AB7A22
secondary
#6386C6
accent
#7BEA3E
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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