#AB7227#AB7227

#AB7227 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.9% C 0.113 H 69.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB7227
RGBrgb(171, 114, 39)
HSLhsl(34, 63%, 41%)
HSVhsv(34, 77%, 67%)
CMYKcmyk(0%, 33.3%, 77.2%, 32.9%)
CIE-LABlab(52.78, 15.94, 48.32)
CIE-LCHlch(52.78, 50.88, 71.74°)
OKLaboklab(59.87% 0.0402 0.1061)
OKLCHoklch(59.87% 0.113 69.3)
XYZxyz(23.1799, 20.8412, 4.7210)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7227 #2760AB
analogous
#AB3027 #AB7227 #A2AB27
triadic
#AB7227 #27AB72 #7227AB
tetradic
#AB7227 #27AB30 #2760AB #AB27A2
square
#AB7227 #27AB30 #2760AB #AB27A2
split-complementary
#AB7227 #27A2AB #3027AB
monochromatic
#473010 #79511C #AB7227 #D3923D #DEAE6E

Accessibility & contrast

On white

4.06
#AB7227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB7227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7227
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7227#FFFFFF#000000##000000
##AB72271.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#BB6463
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7227;
/* rgb */ color: rgb(171, 114, 39);
/* oklch */ color: oklch(59.9% 0.113 69.3);
Tailwind
colors: {
  custom: {
    50: '#c99a66',
    500: '#ab7227',
    950: '#000000',
  },
}
SCSS
$custom: #ab7227;
$custom-light: #c99a66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7227",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 34.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.59874,
    "c": 0.11345,
    "h": 69.3
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#AB7227
secondary
#6991C5
accent
#89E642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7227

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

Preview Lab → · Contrast checker → · Palette generator →

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