#AB9C33#AB9C33

#AB9C33 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.6% C 0.124 H 101.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AB9C33
RGBrgb(171, 156, 51)
HSLhsl(53, 54%, 44%)
HSVhsv(53, 70%, 67%)
CMYKcmyk(0%, 8.8%, 70.2%, 32.9%)
CIE-LABlab(63.90, -6.69, 54.35)
CIE-LCHlch(63.90, 54.76, 97.02°)
OKLaboklab(68.65% -0.0236 0.1214)
OKLCHoklch(68.65% 0.124 101)
XYZxyz(29.2819, 32.6752, 7.8959)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C33 #3342AB
analogous
#AB6033 #AB9C33 #7EAB33
triadic
#AB9C33 #33AB9C #9C33AB
tetradic
#AB9C33 #33AB60 #3342AB #AB337E
square
#AB9C33 #33AB60 #3342AB #AB337E
split-complementary
#AB9C33 #337EAB #6033AB
monochromatic
#4D4617 #7C7125 #AB9C33 #CBBC50 #D9CE7F

Accessibility & contrast

On white

2.79
#AB9C33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AB9C33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C33
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C33#FFFFFF#000000##000000
##AB9C331.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9724
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#B89187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c33;
/* rgb */ color: rgb(171, 156, 51);
/* oklch */ color: oklch(68.6% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#c7b871',
    500: '#ab9c33',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c33;
$custom-light: #c7b871;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c33",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 51
  },
  "hsl": {
    "h": 52.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.12363,
    "h": 101
  },
  "luminance": 0.32674
}

Semantic roles & 50–950 ramp

primary
#AB9C33
secondary
#7881C2
accent
#5DDD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9C33

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

Preview Lab → · Contrast checker → · Palette generator →

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