#CCC952#CCC952

#CCC952 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.140 H 107.8°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CCC952
RGBrgb(204, 201, 82)
HSLhsl(59, 54%, 56%)
HSVhsv(59, 60%, 80%)
CMYKcmyk(0%, 1.5%, 59.8%, 20%)
CIE-LABlab(79.17, -13.95, 58.22)
CIE-LCHlch(79.17, 59.87, 103.47°)
OKLaboklab(81.56% -0.0428 0.1334)
OKLCHoklch(81.56% 0.14 107.8)
XYZxyz(47.3130, 55.2213, 16.1475)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC952 #5255CC
analogous
#CC8C52 #CCC952 #92CC52
triadic
#CCC952 #52CCC9 #C952CC
tetradic
#CCC952 #52CC8C #5255CC #CC5292
square
#CCC952 #52CC8C #5255CC #CC5292
split-complementary
#CCC952 #5292CC #8C52CC
monochromatic
#7E7C25 #AEAB33 #CCC952 #DAD881 #E8E7B1

Accessibility & contrast

On white

1.74
#CCC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CCC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC952
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC952#FFFFFF#000000##000000
##CCC9521.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C244
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#DABDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc952;
/* rgb */ color: rgb(204, 201, 82);
/* oklch */ color: oklch(81.6% 0.140 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded987',
    500: '#ccc952',
    950: '#000000',
  },
}
SCSS
$custom: #ccc952;
$custom-light: #ded987;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc952",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 58.525,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8156,
    "c": 0.14009,
    "h": 107.8
  },
  "luminance": 0.5522
}

Semantic roles & 50–950 ramp

primary
#CCC952
secondary
#3C3E86
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC952

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

Preview Lab → · Contrast checker → · Palette generator →

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