#AB7A28#AB7A28

#AB7A28 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.113 H 76.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB7A28
RGBrgb(171, 122, 40)
HSLhsl(38, 62%, 41%)
HSVhsv(38, 77%, 67%)
CMYKcmyk(0%, 28.7%, 76.6%, 32.9%)
CIE-LABlab(54.80, 11.48, 49.86)
CIE-LCHlch(54.80, 51.16, 77.03°)
OKLaboklab(61.45% 0.0273 0.1096)
OKLCHoklch(61.45% 0.113 76)
XYZxyz(24.1388, 22.7322, 5.1235)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A28 #2859AB
analogous
#AB3928 #AB7A28 #9BAB28
triadic
#AB7A28 #28AB7A #7A28AB
tetradic
#AB7A28 #28AB39 #2859AB #AB289B
square
#AB7A28 #28AB39 #2859AB #AB289B
split-complementary
#AB7A28 #289BAB #3928AB
monochromatic
#483311 #79571C #AB7A28 #D29B3E #DEB570

Accessibility & contrast

On white

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

On black

5.55
#AB7A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7A28
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7A28#FFFFFF#000000##000000
##AB7A281.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#BA6D6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7a28;
/* rgb */ color: rgb(171, 122, 40);
/* oklch */ color: oklch(61.5% 0.113 76.0);
Tailwind
colors: {
  custom: {
    50: '#c9a068',
    500: '#ab7a28',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a28;
$custom-light: #c9a068;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a28",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 37.557,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.11296,
    "h": 76
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#AB7A28
secondary
#6A8CC4
accent
#7FE543
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #AB7A28

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

Preview Lab → · Contrast checker → · Palette generator →

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