#AB9528#AB9528

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

Color values

HEX#AB9528
RGBrgb(171, 149, 40)
HSLhsl(50, 62%, 41%)
HSVhsv(50, 77%, 67%)
CMYKcmyk(0%, 12.9%, 76.6%, 32.9%)
CIE-LABlab(61.92, -3.45, 56.64)
CIE-LCHlch(61.92, 56.74, 93.49°)
OKLaboklab(67.06% -0.0156 0.1241)
OKLCHoklch(67.06% 0.125 97.2)
XYZxyz(27.9265, 30.3075, 6.3860)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9528 #283EAB
analogous
#AB5428 #AB9528 #80AB28
triadic
#AB9528 #28AB95 #9528AB
tetradic
#AB9528 #28AB54 #283EAB #AB2880
square
#AB9528 #28AB54 #283EAB #AB2880
split-complementary
#AB9528 #2880AB #5428AB
monochromatic
#483F11 #796A1C #AB9528 #D2B93E #DECB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9528#FFFFFF#000000##000000
##AB95281.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)
#A59113
Deuteranopia (green-blind)
#AA992F
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9528;
/* rgb */ color: rgb(171, 149, 40);
/* oklch */ color: oklch(67.1% 0.125 97.2);
Tailwind
colors: {
  custom: {
    50: '#c8b36b',
    500: '#ab9528',
    950: '#000000',
  },
}
SCSS
$custom: #ab9528;
$custom-light: #c8b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9528",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 49.924,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67057,
    "c": 0.12507,
    "h": 97.2
  },
  "luminance": 0.30306
}

Semantic roles & 50–950 ramp

primary
#AB9528
secondary
#6A79C4
accent
#5EE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9528

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

Preview Lab → · Contrast checker → · Palette generator →

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