#AB9A32#AB9A32

#AB9A32 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.123 H 99.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AB9A32
RGBrgb(171, 154, 50)
HSLhsl(52, 55%, 43%)
HSVhsv(52, 71%, 67%)
CMYKcmyk(0%, 9.9%, 70.8%, 32.9%)
CIE-LABlab(63.34, -5.67, 54.20)
CIE-LCHlch(63.34, 54.50, 95.98°)
OKLaboklab(68.21% -0.0209 0.1209)
OKLCHoklch(68.21% 0.123 99.8)
XYZxyz(28.9272, 32.0008, 7.6701)
Luminance0.3200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A32 #3243AB
analogous
#AB5D32 #AB9A32 #7FAB32
triadic
#AB9A32 #32AB9A #9A32AB
tetradic
#AB9A32 #32AB5D #3243AB #AB327F
square
#AB9A32 #32AB5D #3243AB #AB327F
split-complementary
#AB9A32 #327FAB #5D32AB
monochromatic
#4C4516 #7C6F24 #AB9A32 #CBBA4F #D9CC7E

Accessibility & contrast

On white

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

On black

7.40
#AB9A32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A32
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A32#FFFFFF#000000##000000
##AB9A321.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99623
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a32;
/* rgb */ color: rgb(171, 154, 50);
/* oklch */ color: oklch(68.2% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#c7b770',
    500: '#ab9a32',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a32;
$custom-light: #c7b770;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a32",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 50
  },
  "hsl": {
    "h": 51.57,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.12264,
    "h": 99.8
  },
  "luminance": 0.31999
}

Semantic roles & 50–950 ramp

primary
#AB9A32
secondary
#7781C2
accent
#5FDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9A32

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

Preview Lab → · Contrast checker → · Palette generator →

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