#AB9526#AB9526

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

Color values

HEX#AB9526
RGBrgb(171, 149, 38)
HSLhsl(50, 64%, 41%)
HSVhsv(50, 78%, 67%)
CMYKcmyk(0%, 12.9%, 77.8%, 32.9%)
CIE-LABlab(61.91, -3.54, 57.33)
CIE-LCHlch(61.91, 57.44, 93.53°)
OKLaboklab(67.05% -0.0161 0.1252)
OKLCHoklch(67.05% 0.126 97.3)
XYZxyz(27.8933, 30.2942, 6.2115)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9526 #263CAB
analogous
#AB5226 #AB9526 #7EAB26
triadic
#AB9526 #26AB95 #9526AB
tetradic
#AB9526 #26AB52 #263CAB #AB267E
square
#AB9526 #26AB52 #263CAB #AB267E
split-complementary
#AB9526 #267EAB #5226AB
monochromatic
#473E10 #79691B #AB9526 #D3BA3B #DFCC6D

Accessibility & contrast

On white

2.98
#AB9526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9526#FFFFFF#000000##000000
##AB95261.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab9526;
/* rgb */ color: rgb(171, 149, 38);
/* oklch */ color: oklch(67.0% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#c8b36a',
    500: '#ab9526',
    950: '#000000',
  },
}
SCSS
$custom: #ab9526;
$custom-light: #c8b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9526",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 50.075,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67045,
    "c": 0.12619,
    "h": 97.3
  },
  "luminance": 0.30293
}

Semantic roles & 50–950 ramp

primary
#AB9526
secondary
#6877C5
accent
#5DE741
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9526

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

Preview Lab → · Contrast checker → · Palette generator →

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