#AB9929#AB9929

#AB9929 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.128 H 99.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AB9929
RGBrgb(171, 153, 41)
HSLhsl(52, 61%, 42%)
HSVhsv(52, 76%, 67%)
CMYKcmyk(0%, 10.5%, 76%, 32.9%)
CIE-LABlab(63.01, -5.57, 57.30)
CIE-LCHlch(63.01, 57.57, 95.55°)
OKLaboklab(67.93% -0.0215 0.1257)
OKLCHoklch(67.93% 0.128 99.7)
XYZxyz(28.5875, 31.6019, 6.6914)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9929 #293BAB
analogous
#AB5829 #AB9929 #7CAB29
triadic
#AB9929 #29AB99 #9929AB
tetradic
#AB9929 #29AB58 #293BAB #AB297C
square
#AB9929 #29AB58 #293BAB #AB297C
split-complementary
#AB9929 #297CAB #5829AB
monochromatic
#484111 #7A6D1D #AB9929 #D1BD40 #DDCE71

Accessibility & contrast

On white

2.87
#AB9929 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AB9929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9929
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9929#FFFFFF#000000##000000
##AB99291.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89513
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9929;
/* rgb */ color: rgb(171, 153, 41);
/* oklch */ color: oklch(67.9% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#c8b66c',
    500: '#ab9929',
    950: '#000000',
  },
}
SCSS
$custom: #ab9929;
$custom-light: #c8b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9929",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 51.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.12754,
    "h": 99.7
  },
  "luminance": 0.316
}

Semantic roles & 50–950 ramp

primary
#AB9929
secondary
#6C78C4
accent
#5AE443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9929

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

Preview Lab → · Contrast checker → · Palette generator →

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