#AB8D28#AB8D28

#AB8D28 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.120 H 91.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB8D28
RGBrgb(171, 141, 40)
HSLhsl(46, 62%, 41%)
HSVhsv(46, 77%, 67%)
CMYKcmyk(0%, 17.5%, 76.6%, 32.9%)
CIE-LABlab(59.76, 0.91, 54.61)
CIE-LCHlch(59.76, 54.62, 89.05°)
OKLaboklab(65.35% -0.0032 0.1198)
OKLCHoklch(65.35% 0.12 91.5)
XYZxyz(26.7040, 27.8625, 5.9786)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D28 #2846AB
analogous
#AB4C28 #AB8D28 #88AB28
triadic
#AB8D28 #28AB8D #8D28AB
tetradic
#AB8D28 #28AB4C #2846AB #AB2888
square
#AB8D28 #28AB4C #2846AB #AB2888
split-complementary
#AB8D28 #2888AB #4C28AB
monochromatic
#483B11 #79641C #AB8D28 #D2B03E #DEC470

Accessibility & contrast

On white

3.20
#AB8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AB8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D28
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D28#FFFFFF#000000##000000
##AB8D281.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B16
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#B98179
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d28;
/* rgb */ color: rgb(171, 141, 40);
/* oklch */ color: oklch(65.4% 0.120 91.5);
Tailwind
colors: {
  custom: {
    50: '#c8ae6a',
    500: '#ab8d28',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d28;
$custom-light: #c8ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d28",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 46.26,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65354,
    "c": 0.11981,
    "h": 91.5
  },
  "luminance": 0.27861
}

Semantic roles & 50–950 ramp

primary
#AB8D28
secondary
#6A7FC4
accent
#68E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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