#AB9932#AB9932

#AB9932 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.122 H 99.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AB9932
RGBrgb(171, 153, 50)
HSLhsl(51, 55%, 43%)
HSVhsv(51, 71%, 67%)
CMYKcmyk(0%, 10.5%, 70.8%, 32.9%)
CIE-LABlab(63.07, -5.14, 53.93)
CIE-LCHlch(63.07, 54.17, 95.44°)
OKLaboklab(67.99% -0.0193 0.1203)
OKLCHoklch(67.99% 0.122 99.1)
XYZxyz(28.7629, 31.6720, 7.6153)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9932 #3244AB
analogous
#AB5C32 #AB9932 #80AB32
triadic
#AB9932 #32AB99 #9932AB
tetradic
#AB9932 #32AB5C #3244AB #AB3280
square
#AB9932 #32AB5C #3244AB #AB3280
split-complementary
#AB9932 #3280AB #5C32AB
monochromatic
#4C4416 #7C6F24 #AB9932 #CBB94F #D9CC7E

Accessibility & contrast

On white

2.86
#AB9932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AB9932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9932
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9932#FFFFFF#000000##000000
##AB99321.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#AD9B38
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9932;
/* rgb */ color: rgb(171, 153, 50);
/* oklch */ color: oklch(68.0% 0.122 99.1);
Tailwind
colors: {
  custom: {
    50: '#c7b670',
    500: '#ab9932',
    950: '#000000',
  },
}
SCSS
$custom: #ab9932;
$custom-light: #c7b670;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9932",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 51.074,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67991,
    "c": 0.12182,
    "h": 99.1
  },
  "luminance": 0.31671
}

Semantic roles & 50–950 ramp

primary
#AB9932
secondary
#7782C2
accent
#60DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9932

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

Preview Lab → · Contrast checker → · Palette generator →

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