#CCCD55#CCCD55

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

Color values

HEX#CCCD55
RGBrgb(204, 205, 85)
HSLhsl(61, 55%, 57%)
HSVhsv(61, 59%, 80%)
CMYKcmyk(0.5%, 0%, 58.5%, 19.6%)
CIE-LABlab(80.27, -15.74, 58.12)
CIE-LCHlch(80.27, 60.22, 105.16°)
OKLaboklab(82.45% -0.0475 0.1336)
OKLCHoklch(82.45% 0.142 109.6)
XYZxyz(48.3742, 57.1571, 17.0768)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD55 #5655CD
analogous
#CD9255 #CCCD55 #90CD55
triadic
#CCCD55 #55CCCD #CD55CC
tetradic
#CCCD55 #55CD92 #5655CD #CD5590
square
#CCCD55 #55CD92 #5655CD #CD5590
split-complementary
#CCCD55 #5590CD #9255CD
monochromatic
#818226 #B0B134 #CCCD55 #DADB84 #E8E9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCD55#FFFFFF#000000##000000
##CCCD551.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)
#DCC547
Deuteranopia (green-blind)
#DDC95C
Tritanopia (blue-blind)
#D9C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd55;
/* rgb */ color: rgb(204, 205, 85);
/* oklch */ color: oklch(82.4% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedc89',
    500: '#cccd55',
    950: '#000000',
  },
}
SCSS
$custom: #cccd55;
$custom-light: #dedc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd55",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 60.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82445,
    "c": 0.1418,
    "h": 109.6
  },
  "luminance": 0.57156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCD55

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

Preview Lab → · Contrast checker → · Palette generator →

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