#AB9A29#AB9A29

#AB9A29 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.1% C 0.128 H 100.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AB9A29
RGBrgb(171, 154, 41)
HSLhsl(52, 61%, 42%)
HSVhsv(52, 76%, 67%)
CMYKcmyk(0%, 9.9%, 76%, 32.9%)
CIE-LABlab(63.29, -6.10, 57.56)
CIE-LCHlch(63.29, 57.88, 96.05°)
OKLaboklab(68.14% -0.023 0.1263)
OKLCHoklch(68.14% 0.128 100.3)
XYZxyz(28.7518, 31.9306, 6.7462)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A29 #293AAB
analogous
#AB5929 #AB9A29 #7BAB29
triadic
#AB9A29 #29AB9A #9A29AB
tetradic
#AB9A29 #29AB59 #293AAB #AB297B
square
#AB9A29 #29AB59 #293AAB #AB297B
split-complementary
#AB9A29 #297BAB #5929AB
monochromatic
#484111 #7A6E1D #AB9A29 #D1BE40 #DDCF71

Accessibility & contrast

On white

2.84
#AB9A29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AB9A29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A29
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A29#FFFFFF#000000##000000
##AB9A291.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99612
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#B98E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a29;
/* rgb */ color: rgb(171, 154, 41);
/* oklch */ color: oklch(68.1% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#c8b76c',
    500: '#ab9a29',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a29;
$custom-light: #c8b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a29",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 41
  },
  "hsl": {
    "h": 52.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68143,
    "c": 0.12834,
    "h": 100.3
  },
  "luminance": 0.31929
}

Semantic roles & 50–950 ramp

primary
#AB9A29
secondary
#6C77C4
accent
#58E443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9A29

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

Preview Lab → · Contrast checker → · Palette generator →

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