#CCD552#CCD552

#CCD552 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.1% C 0.153 H 112.9°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CCD552
RGBrgb(204, 213, 82)
HSLhsl(64, 61%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(4.2%, 0%, 61.5%, 16.5%)
CIE-LABlab(82.40, -19.91, 61.71)
CIE-LCHlch(82.40, 64.84, 107.88°)
OKLaboklab(84.14% -0.0596 0.1408)
OKLCHoklch(84.14% 0.153 112.9)
XYZxyz(50.2204, 61.0361, 17.1166)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD552 #5B52D5
analogous
#D59C52 #CCD552 #8AD552
triadic
#CCD552 #52CCD5 #D552CC
tetradic
#CCD552 #52D59C #5B52D5 #D5528A
square
#CCD552 #52D59C #5B52D5 #D5528A
split-complementary
#CCD552 #528AD5 #9C52D5
monochromatic
#848B22 #B2BC2E #CCD552 #DBE183 #E9EDB4

Accessibility & contrast

On white

1.59
#CCD552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#CCD552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD552
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD552#FFFFFF#000000##000000
##CCD5521.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#D9C9BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd552;
/* rgb */ color: rgb(204, 213, 82);
/* oklch */ color: oklch(84.1% 0.153 112.9);
Tailwind
colors: {
  custom: {
    50: '#dee188',
    500: '#ccd552',
    950: '#000000',
  },
}
SCSS
$custom: #ccd552;
$custom-light: #dee188;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd552",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 64.122,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84139,
    "c": 0.1529,
    "h": 112.9
  },
  "luminance": 0.61035
}

Semantic roles & 50–950 ramp

primary
#CCD552
secondary
#403A91
accent
#44E44F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD552

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

Preview Lab → · Contrast checker → · Palette generator →

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