#C9AC33#C9AC33

#C9AC33 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.9% C 0.137 H 95.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C9AC33
RGBrgb(201, 172, 51)
HSLhsl(48, 60%, 49%)
HSVhsv(48, 75%, 79%)
CMYKcmyk(0%, 14.4%, 74.6%, 21.2%)
CIE-LABlab(70.98, -1.99, 62.23)
CIE-LCHlch(70.98, 62.27, 91.83°)
OKLaboklab(74.92% -0.012 0.1369)
OKLCHoklch(74.92% 0.137 95)
XYZxyz(39.4396, 42.1638, 9.1924)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC33 #3350C9
analogous
#C96133 #C9AC33 #9BC933
triadic
#C9AC33 #33C9AC #AC33C9
tetradic
#C9AC33 #33C961 #3350C9 #C9339B
square
#C9AC33 #33C961 #3350C9 #C9339B
split-complementary
#C9AC33 #339BC9 #6133C9
monochromatic
#67581A #988227 #C9AC33 #D7C162 #E4D493

Accessibility & contrast

On white

2.23
#C9AC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C9AC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AC33
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AC33#FFFFFF#000000##000000
##C9AC331.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA91E
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#D99E94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ac33;
/* rgb */ color: rgb(201, 172, 51);
/* oklch */ color: oklch(74.9% 0.137 95.0);
Tailwind
colors: {
  custom: {
    50: '#dec473',
    500: '#c9ac33',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac33;
$custom-light: #dec473;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac33",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 48.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74924,
    "c": 0.13742,
    "h": 95
  },
  "luminance": 0.42162
}

Semantic roles & 50–950 ramp

primary
#C9AC33
secondary
#8997CF
accent
#64E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C9AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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