#C9AC30#C9AC30

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

Color values

HEX#C9AC30
RGBrgb(201, 172, 48)
HSLhsl(49, 61%, 49%)
HSVhsv(49, 76%, 79%)
CMYKcmyk(0%, 14.4%, 76.1%, 21.2%)
CIE-LABlab(70.97, -2.12, 63.29)
CIE-LCHlch(70.97, 63.33, 91.92°)
OKLaboklab(74.91% -0.0127 0.1386)
OKLCHoklch(74.91% 0.139 95.2)
XYZxyz(39.3755, 42.1382, 8.8552)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AC30 #304DC9
analogous
#C95F30 #C9AC30 #9AC930
triadic
#C9AC30 #30C9AC #AC30C9
tetradic
#C9AC30 #30C95F #304DC9 #C9309A
square
#C9AC30 #30C95F #304DC9 #C9309A
split-complementary
#C9AC30 #309AC9 #5F30C9
monochromatic
#665718 #988224 #C9AC30 #D8C15E #E4D48F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9AC30#FFFFFF#000000##000000
##C9AC301.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)
#BEA918
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#D99E94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c9ac30;
/* rgb */ color: rgb(201, 172, 48);
/* oklch */ color: oklch(74.9% 0.139 95.2);
Tailwind
colors: {
  custom: {
    50: '#dec472',
    500: '#c9ac30',
    950: '#000000',
  },
}
SCSS
$custom: #c9ac30;
$custom-light: #dec472;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ac30",
  "rgb": {
    "r": 201,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 48.627,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74905,
    "c": 0.13913,
    "h": 95.2
  },
  "luminance": 0.42136
}

Semantic roles & 50–950 ramp

primary
#C9AC30
secondary
#8694CF
accent
#62E543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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