#AB9529#AB9529

#AB9529 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.1% C 0.124 H 97.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AB9529
RGBrgb(171, 149, 41)
HSLhsl(50, 61%, 42%)
HSVhsv(50, 76%, 67%)
CMYKcmyk(0%, 12.9%, 76%, 32.9%)
CIE-LABlab(61.92, -3.41, 56.28)
CIE-LCHlch(61.92, 56.38, 93.47°)
OKLaboklab(67.06% -0.0154 0.1235)
OKLCHoklch(67.06% 0.124 97.1)
XYZxyz(27.9437, 30.3144, 6.4768)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9529 #293FAB
analogous
#AB5429 #AB9529 #80AB29
triadic
#AB9529 #29AB95 #9529AB
tetradic
#AB9529 #29AB54 #293FAB #AB2980
square
#AB9529 #29AB54 #293FAB #AB2980
split-complementary
#AB9529 #2980AB #5429AB
monochromatic
#483F11 #7A6A1D #AB9529 #D1B940 #DDCB71

Accessibility & contrast

On white

2.97
#AB9529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AB9529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9529
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9529#FFFFFF#000000##000000
##AB95291.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59115
Deuteranopia (green-blind)
#AA9930
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9529;
/* rgb */ color: rgb(171, 149, 41);
/* oklch */ color: oklch(67.1% 0.124 97.1);
Tailwind
colors: {
  custom: {
    50: '#c8b36b',
    500: '#ab9529',
    950: '#000000',
  },
}
SCSS
$custom: #ab9529;
$custom-light: #c8b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9529",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 49.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.12449,
    "h": 97.1
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

primary
#AB9529
secondary
#6C7BC4
accent
#5FE443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9529

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

Preview Lab → · Contrast checker → · Palette generator →

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