#AB8A28#AB8A28

#AB8A28 is a light, moderate orange. Relative luminance 0.270; OKLCH L 64.7% C 0.118 H 89.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB8A28
RGBrgb(171, 138, 40)
HSLhsl(45, 62%, 41%)
HSVhsv(45, 77%, 67%)
CMYKcmyk(0%, 19.3%, 76.6%, 32.9%)
CIE-LABlab(58.96, 2.56, 53.85)
CIE-LCHlch(58.96, 53.92, 87.28°)
OKLaboklab(64.72% 0.0015 0.1182)
OKLCHoklch(64.72% 0.118 89.3)
XYZxyz(26.2676, 26.9898, 5.8331)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8A28 #2849AB
analogous
#AB4828 #AB8A28 #8BAB28
triadic
#AB8A28 #28AB8A #8A28AB
tetradic
#AB8A28 #28AB48 #2849AB #AB288B
square
#AB8A28 #28AB48 #2849AB #AB288B
split-complementary
#AB8A28 #288BAB #4828AB
monochromatic
#483A11 #79621C #AB8A28 #D2AD3E #DEC270

Accessibility & contrast

On white

3.28
#AB8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8A28
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8A28#FFFFFF#000000##000000
##AB8A281.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8917
Deuteranopia (green-blind)
#A2922D
Tritanopia (blue-blind)
#B97E77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab8a28;
/* rgb */ color: rgb(171, 138, 40);
/* oklch */ color: oklch(64.7% 0.118 89.3);
Tailwind
colors: {
  custom: {
    50: '#c8ab69',
    500: '#ab8a28',
    950: '#000000',
  },
}
SCSS
$custom: #ab8a28;
$custom-light: #c8ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8a28",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 44.885,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.11817,
    "h": 89.3
  },
  "luminance": 0.26988
}

Semantic roles & 50–950 ramp

primary
#AB8A28
secondary
#6A81C4
accent
#6CE543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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