#AB8128#AB8128

#AB8128 is a light, moderate orange. Relative luminance 0.245; OKLCH L 62.9% C 0.114 H 82.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB8128
RGBrgb(171, 129, 40)
HSLhsl(41, 62%, 41%)
HSVhsv(41, 77%, 67%)
CMYKcmyk(0%, 24.6%, 76.6%, 32.9%)
CIE-LABlab(56.60, 7.56, 51.60)
CIE-LCHlch(56.60, 52.15, 81.66°)
OKLaboklab(62.86% 0.0159 0.1133)
OKLCHoklch(62.86% 0.114 82)
XYZxyz(25.0295, 24.5135, 5.4204)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8128 #2852AB
analogous
#AB4028 #AB8128 #94AB28
triadic
#AB8128 #28AB81 #8128AB
tetradic
#AB8128 #28AB40 #2852AB #AB2894
square
#AB8128 #28AB40 #2852AB #AB2894
split-complementary
#AB8128 #2894AB #4028AB
monochromatic
#483611 #795C1C #AB8128 #D2A33E #DEBA70

Accessibility & contrast

On white

3.56
#AB8128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AB8128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8128
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8128#FFFFFF#000000##000000
##AB81281.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#BA746F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab8128;
/* rgb */ color: rgb(171, 129, 40);
/* oklch */ color: oklch(62.9% 0.114 82.0);
Tailwind
colors: {
  custom: {
    50: '#c8a568',
    500: '#ab8128',
    950: '#000000',
  },
}
SCSS
$custom: #ab8128;
$custom-light: #c8a568;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8128",
  "rgb": {
    "r": 171,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 40.763,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62864,
    "c": 0.11445,
    "h": 82
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#AB8128
secondary
#6A87C4
accent
#77E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #AB8128

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

Preview Lab → · Contrast checker → · Palette generator →

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