#C9CC52#C9CC52

#C9CC52 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.144 H 110.5°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C9CC52
RGBrgb(201, 204, 82)
HSLhsl(61, 54%, 56%)
HSVhsv(61, 60%, 80%)
CMYKcmyk(1.5%, 0%, 59.8%, 20%)
CIE-LABlab(79.74, -16.69, 58.77)
CIE-LCHlch(79.74, 61.09, 105.86°)
OKLaboklab(81.95% -0.0504 0.1346)
OKLCHoklch(81.95% 0.144 110.5)
XYZxyz(47.2046, 56.2136, 16.3447)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC52 #5552CC
analogous
#CC9252 #C9CC52 #8CCC52
triadic
#C9CC52 #52C9CC #CC52C9
tetradic
#C9CC52 #52CC92 #5552CC #CC528C
square
#C9CC52 #52CC92 #5552CC #CC528C
split-complementary
#C9CC52 #528CCC #9252CC
monochromatic
#7C7E25 #ABAE33 #C9CC52 #D8DA81 #E7E8B1

Accessibility & contrast

On white

1.72
#C9CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#C9CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC52
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC52#FFFFFF#000000##000000
##C9CC521.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#D6C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cc52;
/* rgb */ color: rgb(201, 204, 82);
/* oklch */ color: oklch(82.0% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb88',
    500: '#c9cc52',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc52;
$custom-light: #dcdb88;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc52",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 61.475,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81954,
    "c": 0.14374,
    "h": 110.5
  },
  "luminance": 0.56212
}

Semantic roles & 50–950 ramp

primary
#C9CC52
secondary
#3E3C86
accent
#4ADE4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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