#AB7228#AB7228

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

Color values

HEX#AB7228
RGBrgb(171, 114, 40)
HSLhsl(34, 62%, 41%)
HSVhsv(34, 77%, 67%)
CMYKcmyk(0%, 33.3%, 76.6%, 32.9%)
CIE-LABlab(52.78, 15.99, 47.89)
CIE-LCHlch(52.78, 50.49, 71.54°)
OKLaboklab(59.88% 0.0404 0.1054)
OKLCHoklch(59.88% 0.113 69)
XYZxyz(23.1967, 20.8479, 4.8094)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7228 #2861AB
analogous
#AB3128 #AB7228 #A3AB28
triadic
#AB7228 #28AB72 #7228AB
tetradic
#AB7228 #28AB31 #2861AB #AB28A3
square
#AB7228 #28AB31 #2861AB #AB28A3
split-complementary
#AB7228 #28A3AB #3128AB
monochromatic
#483011 #79511C #AB7228 #D2923E #DEAE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7228#FFFFFF#000000##000000
##AB72281.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)
#85761E
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#BB6463
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab7228;
/* rgb */ color: rgb(171, 114, 40);
/* oklch */ color: oklch(59.9% 0.113 69.0);
Tailwind
colors: {
  custom: {
    50: '#c99a67',
    500: '#ab7228',
    950: '#000000',
  },
}
SCSS
$custom: #ab7228;
$custom-light: #c99a67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7228",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 33.893,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.11292,
    "h": 69
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#AB7228
secondary
#6A92C4
accent
#89E543
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AB7228

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

Preview Lab → · Contrast checker → · Palette generator →

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