#AB8E29#AB8E29

#AB8E29 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.6% C 0.120 H 92.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AB8E29
RGBrgb(171, 142, 41)
HSLhsl(47, 61%, 42%)
HSVhsv(47, 76%, 67%)
CMYKcmyk(0%, 17%, 76%, 32.9%)
CIE-LABlab(60.04, 0.40, 54.49)
CIE-LCHlch(60.04, 54.50, 89.58°)
OKLaboklab(65.57% -0.0046 0.1197)
OKLCHoklch(65.57% 0.12 92.2)
XYZxyz(26.8693, 28.1656, 6.1187)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E29 #2946AB
analogous
#AB4D29 #AB8E29 #87AB29
triadic
#AB8E29 #29AB8E #8E29AB
tetradic
#AB8E29 #29AB4D #2946AB #AB2987
square
#AB8E29 #29AB4D #2946AB #AB2987
split-complementary
#AB8E29 #2987AB #4D29AB
monochromatic
#483C11 #7A651D #AB8E29 #D1B140 #DDC571

Accessibility & contrast

On white

3.17
#AB8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AB8E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8E29
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8E29#FFFFFF#000000##000000
##AB8E291.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C17
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#B9827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e29;
/* rgb */ color: rgb(171, 142, 41);
/* oklch */ color: oklch(65.6% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#c8ae6a',
    500: '#ab8e29',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e29;
$custom-light: #c8ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e29",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 46.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.11982,
    "h": 92.2
  },
  "luminance": 0.28164
}

Semantic roles & 50–950 ramp

primary
#AB8E29
secondary
#6C7FC4
accent
#67E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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