#AB6228#AB6228

#AB6228 is a mid, moderate orange. Relative luminance 0.175; OKLCH L 56.9% C 0.118 H 55.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB6228
RGBrgb(171, 98, 40)
HSLhsl(27, 62%, 41%)
HSVhsv(27, 77%, 67%)
CMYKcmyk(0%, 42.7%, 76.6%, 32.9%)
CIE-LABlab(48.94, 24.94, 44.08)
CIE-LCHlch(48.94, 50.65, 60.50°)
OKLaboklab(56.91% 0.067 0.0973)
OKLCHoklch(56.91% 0.118 55.4)
XYZxyz(21.5471, 17.5488, 4.2596)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6228 #2871AB
analogous
#AB2830 #AB6228 #ABA428
triadic
#AB6228 #28AB62 #6228AB
tetradic
#AB6228 #30AB28 #2871AB #A428AB
square
#AB6228 #30AB28 #2871AB #A428AB
split-complementary
#AB6228 #28ABA4 #2830AB
monochromatic
#482911 #79461C #AB6228 #D2803E #DEA070

Accessibility & contrast

On white

4.66
#AB6228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AB6228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB6228
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6228#FFFFFF#000000##FFFFFF
##AB62281.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A21
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#BB5256
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab6228;
/* rgb */ color: rgb(171, 98, 40);
/* oklch */ color: oklch(56.9% 0.118 55.4);
Tailwind
colors: {
  custom: {
    50: '#ca8f66',
    500: '#ab6228',
    950: '#000000',
  },
}
SCSS
$custom: #ab6228;
$custom-light: #ca8f66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6228",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 26.565,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.11809,
    "h": 55.4
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#AB6228
secondary
#6A9DC4
accent
#9DE543
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C06
muted
#837D7A

Preview Lab

Preview with #AB6228

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

Preview Lab → · Contrast checker → · Palette generator →

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