#AB642A#AB642A

#AB642A is a mid, moderate orange. Relative luminance 0.179; OKLCH L 57.3% C 0.116 H 56.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB642A
RGBrgb(171, 100, 42)
HSLhsl(27, 61%, 42%)
HSVhsv(27, 75%, 67%)
CMYKcmyk(0%, 41.5%, 75.4%, 32.9%)
CIE-LABlab(49.43, 23.92, 43.62)
CIE-LCHlch(49.43, 49.75, 61.26°)
OKLaboklab(57.29% 0.0642 0.0968)
OKLCHoklch(57.29% 0.116 56.4)
XYZxyz(21.7715, 17.9417, 4.5066)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB642A #2A71AB
analogous
#AB2A31 #AB642A #ABA52A
triadic
#AB642A #2AAB64 #642AAB
tetradic
#AB642A #31AB2A #2A71AB #A52AAB
square
#AB642A #31AB2A #2A71AB #A52AAB
split-complementary
#AB642A #2AABA5 #2A31AB
monochromatic
#492B12 #7A471E #AB642A #D18242 #DDA273

Accessibility & contrast

On white

4.58
#AB642A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AB642A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB642A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB642A#FFFFFF#000000##000000
##AB642A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#796C23
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#BB5558
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab642a;
/* rgb */ color: rgb(171, 100, 42);
/* oklch */ color: oklch(57.3% 0.116 56.4);
Tailwind
colors: {
  custom: {
    50: '#ca9067',
    500: '#ab642a',
    950: '#000000',
  },
}
SCSS
$custom: #ab642a;
$custom-light: #ca9067;
$custom-dark: #000000;
JSON
{
  "hex": "#ab642a",
  "rgb": {
    "r": 171,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 26.977,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.11614,
    "h": 56.4
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#AB642A
secondary
#6D9DC4
accent
#9CE444
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C06
muted
#837D7A

Preview Lab

Preview with #AB642A

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

Preview Lab → · Contrast checker → · Palette generator →

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