#CCCD56#CCCD56

#CCCD56 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.141 H 109.6°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CCCD56
RGBrgb(204, 205, 86)
HSLhsl(61, 54%, 57%)
HSVhsv(61, 58%, 80%)
CMYKcmyk(0.5%, 0%, 58%, 19.6%)
CIE-LABlab(80.28, -15.67, 57.70)
CIE-LCHlch(80.28, 59.79, 105.20°)
OKLaboklab(82.46% -0.0472 0.1328)
OKLCHoklch(82.46% 0.141 109.6)
XYZxyz(48.4142, 57.1731, 17.2875)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD56 #5756CD
analogous
#CD9356 #CCCD56 #91CD56
triadic
#CCCD56 #56CCCD #CD56CC
tetradic
#CCCD56 #56CD93 #5756CD #CD5691
square
#CCCD56 #56CD93 #5756CD #CD5691
split-complementary
#CCCD56 #5691CD #9356CD
monochromatic
#818226 #B0B134 #CCCD56 #DADB85 #E9E9B4

Accessibility & contrast

On white

1.69
#CCCD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CCCD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD56
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD56#FFFFFF#000000##000000
##CCCD561.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#D9C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd56;
/* rgb */ color: rgb(204, 205, 86);
/* oklch */ color: oklch(82.5% 0.141 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedc8a',
    500: '#cccd56',
    950: '#000000',
  },
}
SCSS
$custom: #cccd56;
$custom-light: #dedc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd56",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 60.504,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82456,
    "c": 0.14096,
    "h": 109.6
  },
  "luminance": 0.57172
}

Semantic roles & 50–950 ramp

primary
#CCCD56
secondary
#3E3E89
accent
#4ADE4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCD56

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

Preview Lab → · Contrast checker → · Palette generator →

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