#AB7A2A#AB7A2A

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

Color values

HEX#AB7A2A
RGBrgb(171, 122, 42)
HSLhsl(37, 61%, 42%)
HSVhsv(37, 75%, 67%)
CMYKcmyk(0%, 28.7%, 75.4%, 32.9%)
CIE-LABlab(54.81, 11.58, 49.03)
CIE-LCHlch(54.81, 50.38, 76.72°)
OKLaboklab(61.47% 0.0278 0.1083)
OKLCHoklch(61.47% 0.112 75.6)
XYZxyz(24.1737, 22.7461, 5.3073)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A2A #2A5BAB
analogous
#AB3A2A #AB7A2A #9CAB2A
triadic
#AB7A2A #2AAB7A #7A2AAB
tetradic
#AB7A2A #2AAB3A #2A5BAB #AB2A9C
square
#AB7A2A #2AAB3A #2A5BAB #AB2A9C
split-complementary
#AB7A2A #2A9CAB #3A2AAB
monochromatic
#493412 #7A571E #AB7A2A #D19A42 #DDB473

Accessibility & contrast

On white

3.78
#AB7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7A2A#FFFFFF#000000##000000
##AB7A2A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab7a2a;
/* rgb */ color: rgb(171, 122, 42);
/* oklch */ color: oklch(61.5% 0.112 75.6);
Tailwind
colors: {
  custom: {
    50: '#c9a069',
    500: '#ab7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a2a;
$custom-light: #c9a069;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a2a",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 37.209,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.11181,
    "h": 75.6
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#AB7A2A
secondary
#6D8EC4
accent
#81E444
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #AB7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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