#AB9B32#AB9B32

#AB9B32 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.123 H 100.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AB9B32
RGBrgb(171, 155, 50)
HSLhsl(52, 55%, 43%)
HSVhsv(52, 71%, 67%)
CMYKcmyk(0%, 9.4%, 70.8%, 32.9%)
CIE-LABlab(63.62, -6.21, 54.47)
CIE-LCHlch(63.62, 54.83, 96.50°)
OKLaboklab(68.42% -0.0224 0.1214)
OKLCHoklch(68.42% 0.123 100.4)
XYZxyz(29.0930, 32.3322, 7.7253)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B32 #3242AB
analogous
#AB5E32 #AB9B32 #7EAB32
triadic
#AB9B32 #32AB9B #9B32AB
tetradic
#AB9B32 #32AB5E #3242AB #AB327E
square
#AB9B32 #32AB5E #3242AB #AB327E
split-complementary
#AB9B32 #327EAB #5E32AB
monochromatic
#4C4516 #7C7024 #AB9B32 #CBBB4F #D9CD7E

Accessibility & contrast

On white

2.81
#AB9B32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AB9B32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B32
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B32#FFFFFF#000000##000000
##AB9B321.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9722
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b32;
/* rgb */ color: rgb(171, 155, 50);
/* oklch */ color: oklch(68.4% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#c7b870',
    500: '#ab9b32',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b32;
$custom-light: #c7b870;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b32",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 50
  },
  "hsl": {
    "h": 52.066,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68424,
    "c": 0.12347,
    "h": 100.4
  },
  "luminance": 0.32331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9B32

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

Preview Lab → · Contrast checker → · Palette generator →

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