#AB8228#AB8228

#AB8228 is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.1% C 0.115 H 82.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB8228
RGBrgb(171, 130, 40)
HSLhsl(41, 62%, 41%)
HSVhsv(41, 77%, 67%)
CMYKcmyk(0%, 24%, 76.6%, 32.9%)
CIE-LABlab(56.86, 7.00, 51.85)
CIE-LCHlch(56.86, 52.32, 82.31°)
OKLaboklab(63.07% 0.0143 0.1139)
OKLCHoklch(63.07% 0.115 82.9)
XYZxyz(25.1619, 24.7782, 5.4645)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8228 #2851AB
analogous
#AB4128 #AB8228 #93AB28
triadic
#AB8228 #28AB82 #8228AB
tetradic
#AB8228 #28AB41 #2851AB #AB2893
square
#AB8228 #28AB41 #2851AB #AB2893
split-complementary
#AB8228 #2893AB #4128AB
monochromatic
#483711 #795C1C #AB8228 #D2A43E #DEBB70

Accessibility & contrast

On white

3.53
#AB8228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AB8228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8228
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8228#FFFFFF#000000##000000
##AB82281.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#BA7570
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab8228;
/* rgb */ color: rgb(171, 130, 40);
/* oklch */ color: oklch(63.1% 0.115 82.9);
Tailwind
colors: {
  custom: {
    50: '#c8a669',
    500: '#ab8228',
    950: '#000000',
  },
}
SCSS
$custom: #ab8228;
$custom-light: #c8a669;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8228",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 41.221,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.11476,
    "h": 82.9
  },
  "luminance": 0.24776
}

Semantic roles & 50–950 ramp

primary
#AB8228
secondary
#6A87C4
accent
#76E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB8228

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

Preview Lab → · Contrast checker → · Palette generator →

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