#C9C52A#C9C52A

#C9C52A is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.162 H 108.0°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#C9C52A
RGBrgb(201, 197, 42)
HSLhsl(58, 65%, 48%)
HSVhsv(58, 79%, 79%)
CMYKcmyk(0%, 2%, 79.1%, 21.2%)
CIE-LABlab(77.59, -15.23, 71.17)
CIE-LCHlch(77.59, 72.79, 102.08°)
OKLaboklab(80.16% -0.0501 0.1543)
OKLCHoklch(80.16% 0.162 108)
XYZxyz(44.4734, 52.5187, 9.9845)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C52A #2A2EC9
analogous
#C9762A #C9C52A #7DC92A
triadic
#C9C52A #2AC9C5 #C52AC9
tetradic
#C9C52A #2AC976 #2A2EC9 #C92A7D
square
#C9C52A #2AC976 #2A2EC9 #C92A7D
split-complementary
#C9C52A #2A7DC9 #762AC9
monochromatic
#646215 #96931F #C9C52A #DBD855 #E6E487

Accessibility & contrast

On white

1.83
#C9C52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#C9C52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C52A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C52A#FFFFFF#000000##000000
##C9C52A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D8C238
Tritanopia (blue-blind)
#D8B8A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c9c52a;
/* rgb */ color: rgb(201, 197, 42);
/* oklch */ color: oklch(80.2% 0.162 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded672',
    500: '#c9c52a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c52a;
$custom-light: #ded672;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c52a",
  "rgb": {
    "r": 201,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 58.491,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.80159,
    "c": 0.1622,
    "h": 108
  },
  "luminance": 0.52517
}

Semantic roles & 50–950 ramp

primary
#C9C52A
secondary
#292B6E
accent
#44E83F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C52A

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

Preview Lab → · Contrast checker → · Palette generator →

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