#AB9C32#AB9C32

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

Color values

HEX#AB9C32
RGBrgb(171, 156, 50)
HSLhsl(53, 55%, 43%)
HSVhsv(53, 71%, 67%)
CMYKcmyk(0%, 8.8%, 70.8%, 32.9%)
CIE-LABlab(63.89, -6.74, 54.75)
CIE-LCHlch(63.89, 55.16, 97.02°)
OKLaboklab(68.64% -0.0239 0.122)
OKLCHoklch(68.64% 0.124 101.1)
XYZxyz(29.2601, 32.6665, 7.7810)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C32 #3241AB
analogous
#AB5F32 #AB9C32 #7DAB32
triadic
#AB9C32 #32AB9C #9C32AB
tetradic
#AB9C32 #32AB5F #3241AB #AB327D
square
#AB9C32 #32AB5F #3241AB #AB327D
split-complementary
#AB9C32 #327DAB #5F32AB
monochromatic
#4C4616 #7C7124 #AB9C32 #CBBC4F #D9CE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9C32#FFFFFF#000000##000000
##AB9C321.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)
#AB9722
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#B89187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c32;
/* rgb */ color: rgb(171, 156, 50);
/* oklch */ color: oklch(68.6% 0.124 101.1);
Tailwind
colors: {
  custom: {
    50: '#c7b871',
    500: '#ab9c32',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c32;
$custom-light: #c7b871;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c32",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 50
  },
  "hsl": {
    "h": 52.562,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68641,
    "c": 0.12432,
    "h": 101.1
  },
  "luminance": 0.32665
}

Semantic roles & 50–950 ramp

primary
#AB9C32
secondary
#7780C2
accent
#5CDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9C32

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

Preview Lab → · Contrast checker → · Palette generator →

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