#CCDC56#CCDC56

#CCDC56 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.7% C 0.158 H 115.6°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#CCDC56
RGBrgb(204, 220, 86)
HSLhsl(67, 66%, 60%)
HSVhsv(67, 61%, 86%)
CMYKcmyk(7.3%, 0%, 60.9%, 13.7%)
CIE-LABlab(84.33, -23.04, 62.12)
CIE-LCHlch(84.33, 66.26, 110.35°)
OKLaboklab(85.69% -0.068 0.1422)
OKLCHoklch(85.69% 0.158 115.6)
XYZxyz(52.1759, 64.6964, 18.5414)
Luminance0.6470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC56 #6656DC
analogous
#DCA956 #CCDC56 #89DC56
triadic
#CCDC56 #56CCDC #DC56CC
tetradic
#CCDC56 #56DCA9 #6656DC #DC5689
square
#CCDC56 #56DCA9 #6656DC #DC5689
split-complementary
#CCDC56 #5689DC #A956DC
monochromatic
#8A9820 #B8CB2A #CCDC56 #DBE689 #EBF1BB

Accessibility & contrast

On white

1.51
#CCDC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#CCDC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC56
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC56#FFFFFF#000000##000000
##CCDC561.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD246
Deuteranopia (green-blind)
#E9D35F
Tritanopia (blue-blind)
#D8D0C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccdc56;
/* rgb */ color: rgb(204, 220, 86);
/* oklch */ color: oklch(85.7% 0.158 115.6);
Tailwind
colors: {
  custom: {
    50: '#dee68b',
    500: '#ccdc56',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc56;
$custom-light: #dee68b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc56",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 67.164,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.85694,
    "c": 0.15763,
    "h": 115.6
  },
  "luminance": 0.64696
}

Semantic roles & 50–950 ramp

primary
#CCDC56
secondary
#463A9C
accent
#3FE953
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCDC56

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

Preview Lab → · Contrast checker → · Palette generator →

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