#AB8D29#AB8D29

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

Color values

HEX#AB8D29
RGBrgb(171, 141, 41)
HSLhsl(46, 61%, 42%)
HSVhsv(46, 76%, 67%)
CMYKcmyk(0%, 17.5%, 76%, 32.9%)
CIE-LABlab(59.77, 0.95, 54.24)
CIE-LCHlch(59.77, 54.25, 89.00°)
OKLaboklab(65.36% -0.003 0.1192)
OKLCHoklch(65.36% 0.119 91.4)
XYZxyz(26.7212, 27.8694, 6.0693)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D29 #2947AB
analogous
#AB4C29 #AB8D29 #88AB29
triadic
#AB8D29 #29AB8D #8D29AB
tetradic
#AB8D29 #29AB4C #2947AB #AB2988
square
#AB8D29 #29AB4C #2947AB #AB2988
split-complementary
#AB8D29 #2988AB #4C29AB
monochromatic
#483C11 #7A641D #AB8D29 #D1B040 #DDC471

Accessibility & contrast

On white

3.19
#AB8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8D29#FFFFFF#000000##000000
##AB8D291.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8d29;
/* rgb */ color: rgb(171, 141, 41);
/* oklch */ color: oklch(65.4% 0.119 91.4);
Tailwind
colors: {
  custom: {
    50: '#c8ae6a',
    500: '#ab8d29',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d29;
$custom-light: #c8ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d29",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 46.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65361,
    "c": 0.11922,
    "h": 91.4
  },
  "luminance": 0.27868
}

Semantic roles & 50–950 ramp

primary
#AB8D29
secondary
#6C80C4
accent
#69E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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