#CCD551#CCD551

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

Color values

HEX#CCD551
RGBrgb(204, 213, 81)
HSLhsl(64, 61%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(4.2%, 0%, 62%, 16.5%)
CIE-LABlab(82.39, -19.98, 62.12)
CIE-LCHlch(82.39, 65.25, 107.83°)
OKLaboklab(84.13% -0.0599 0.1415)
OKLCHoklch(84.13% 0.154 112.9)
XYZxyz(50.1826, 61.0210, 16.9177)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD551 #5A51D5
analogous
#D59C51 #CCD551 #8AD551
triadic
#CCD551 #51CCD5 #D551CC
tetradic
#CCD551 #51D59C #5A51D5 #D5518A
square
#CCD551 #51D59C #5A51D5 #D5518A
split-complementary
#CCD551 #518AD5 #9C51D5
monochromatic
#838A21 #B2BC2D #CCD551 #DAE182 #E9EDB4

Accessibility & contrast

On white

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

On black

13.20
#CCD551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD551
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD551#FFFFFF#000000##000000
##CCD5511.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB41
Deuteranopia (green-blind)
#E4CE5A
Tritanopia (blue-blind)
#D9C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd551;
/* rgb */ color: rgb(204, 213, 81);
/* oklch */ color: oklch(84.1% 0.154 112.9);
Tailwind
colors: {
  custom: {
    50: '#dee188',
    500: '#ccd551',
    950: '#000000',
  },
}
SCSS
$custom: #ccd551;
$custom-light: #dee188;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd551",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 64.091,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8413,
    "c": 0.15368,
    "h": 112.9
  },
  "luminance": 0.6102
}

Semantic roles & 50–950 ramp

primary
#CCD551
secondary
#403A90
accent
#44E44F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD551

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

Preview Lab → · Contrast checker → · Palette generator →

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