#CCD778#CCD778

#CCD778 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.120 H 114.4°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CCD778
RGBrgb(204, 215, 120)
HSLhsl(67, 54%, 66%)
HSVhsv(67, 44%, 84%)
CMYKcmyk(5.1%, 0%, 44.2%, 15.7%)
CIE-LABlab(83.33, -17.68, 45.44)
CIE-LCHlch(83.33, 48.75, 111.26°)
OKLaboklab(85.02% -0.0496 0.1093)
OKLCHoklch(85.02% 0.12 114.4)
XYZxyz(52.5931, 62.7950, 27.1157)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD778 #8378D7
analogous
#D7B278 #CCD778 #9CD778
triadic
#CCD778 #78CCD7 #D778CC
tetradic
#CCD778 #78D7B2 #8378D7 #D7789C
square
#CCD778 #78D7B2 #8378D7 #D7789C
split-complementary
#CCD778 #789CD7 #B278D7
monochromatic
#97A431 #BAC949 #CCD778 #DEE5A7 #F0F3D6

Accessibility & contrast

On white

1.55
#CCD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#CCD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD778
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD778#FFFFFF#000000##000000
##CCD7781.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E2D17D
Tritanopia (blue-blind)
#D6CDC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd778;
/* rgb */ color: rgb(204, 215, 120);
/* oklch */ color: oklch(85.0% 0.120 114.4);
Tailwind
colors: {
  custom: {
    50: '#dde3a1',
    500: '#ccd778',
    950: '#000000',
  },
}
SCSS
$custom: #ccd778;
$custom-light: #dde3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd778",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 66.947,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85016,
    "c": 0.12006,
    "h": 114.4
  },
  "luminance": 0.62794
}

Semantic roles & 50–950 ramp

primary
#CCD778
secondary
#564BA8
accent
#24C236
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD778

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

Preview Lab → · Contrast checker → · Palette generator →

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