#AB662A#AB662A

#AB662A is a mid, moderate orange. Relative luminance 0.183; OKLCH L 57.6% C 0.115 H 58.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB662A
RGBrgb(171, 102, 42)
HSLhsl(28, 61%, 42%)
HSVhsv(28, 75%, 67%)
CMYKcmyk(0%, 40.4%, 75.4%, 32.9%)
CIE-LABlab(49.89, 22.81, 44.10)
CIE-LCHlch(49.89, 49.65, 62.65°)
OKLaboklab(57.65% 0.0609 0.0978)
OKLCHoklch(57.65% 0.115 58.1)
XYZxyz(21.9657, 18.3301, 4.5713)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB662A #2A6FAB
analogous
#AB2A2F #AB662A #ABA72A
triadic
#AB662A #2AAB66 #662AAB
tetradic
#AB662A #2FAB2A #2A6FAB #A72AAB
square
#AB662A #2FAB2A #2A6FAB #A72AAB
split-complementary
#AB662A #2AABA7 #2A2FAB
monochromatic
#492B12 #7A491E #AB662A #D18442 #DDA473

Accessibility & contrast

On white

4.50
#AB662A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AB662A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB662A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB662A#FFFFFF#000000##000000
##AB662A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D22
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#BB5759
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab662a;
/* rgb */ color: rgb(171, 102, 42);
/* oklch */ color: oklch(57.6% 0.115 58.1);
Tailwind
colors: {
  custom: {
    50: '#c99267',
    500: '#ab662a',
    950: '#000000',
  },
}
SCSS
$custom: #ab662a;
$custom-light: #c99267;
$custom-dark: #000000;
JSON
{
  "hex": "#ab662a",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 27.907,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.1152,
    "h": 58.1
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#AB662A
secondary
#6D9BC4
accent
#99E444
background
#FDF9F6
surface
#FAF1EB
border
#D3CBC6
text
#140D06
muted
#837E7A

Preview Lab

Preview with #AB662A

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

Preview Lab → · Contrast checker → · Palette generator →

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