#C9AB32#C9AB32

#C9AB32 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.137 H 94.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C9AB32
RGBrgb(201, 171, 50)
HSLhsl(48, 60%, 49%)
HSVhsv(48, 75%, 79%)
CMYKcmyk(0%, 14.9%, 75.1%, 21.2%)
CIE-LABlab(70.72, -1.51, 62.34)
CIE-LCHlch(70.72, 62.36, 91.39°)
OKLaboklab(74.71% -0.0107 0.1369)
OKLCHoklch(74.71% 0.137 94.5)
XYZxyz(39.2281, 41.7758, 9.0143)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB32 #3250C9
analogous
#C95F32 #C9AB32 #9CC932
triadic
#C9AB32 #32C9AB #AB32C9
tetradic
#C9AB32 #32C95F #3250C9 #C9329C
square
#C9AB32 #32C95F #3250C9 #C9329C
split-complementary
#C9AB32 #329CC9 #5F32C9
monochromatic
#67581A #988126 #C9AB32 #D8C061 #E4D392

Accessibility & contrast

On white

2.24
#C9AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C9AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB32
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB32#FFFFFF#000000##000000
##C9AB321.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81C
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#D99D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab32;
/* rgb */ color: rgb(201, 171, 50);
/* oklch */ color: oklch(74.7% 0.137 94.5);
Tailwind
colors: {
  custom: {
    50: '#dec373',
    500: '#c9ab32',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab32;
$custom-light: #dec373;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab32",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 48.079,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74711,
    "c": 0.13735,
    "h": 94.5
  },
  "luminance": 0.41774
}

Semantic roles & 50–950 ramp

primary
#C9AB32
secondary
#8896CF
accent
#64E344
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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