#CCC552#CCC552

#CCC552 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.136 H 105.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CCC552
RGBrgb(204, 197, 82)
HSLhsl(57, 54%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3.4%, 59.8%, 20%)
CIE-LABlab(78.10, -11.92, 57.05)
CIE-LCHlch(78.10, 58.28, 101.80°)
OKLaboklab(80.71% -0.037 0.1309)
OKLCHoklch(80.71% 0.136 105.8)
XYZxyz(46.3926, 53.3806, 15.8407)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC552 #5259CC
analogous
#CC8852 #CCC552 #96CC52
triadic
#CCC552 #52CCC5 #C552CC
tetradic
#CCC552 #52CC88 #5259CC #CC5296
square
#CCC552 #52CC88 #5259CC #CC5296
split-complementary
#CCC552 #5296CC #8852CC
monochromatic
#7E7925 #AEA733 #CCC552 #DAD581 #E8E5B1

Accessibility & contrast

On white

1.80
#CCC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CCC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC552
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC552#FFFFFF#000000##000000
##CCC5521.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc552;
/* rgb */ color: rgb(204, 197, 82);
/* oklch */ color: oklch(80.7% 0.136 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded687',
    500: '#ccc552',
    950: '#000000',
  },
}
SCSS
$custom: #ccc552;
$custom-light: #ded687;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc552",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 56.557,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80709,
    "c": 0.13606,
    "h": 105.8
  },
  "luminance": 0.53379
}

Semantic roles & 50–950 ramp

primary
#CCC552
secondary
#3C4086
accent
#52DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC552

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

Preview Lab → · Contrast checker → · Palette generator →

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