#CCCC4D#CCCC4D

#CCCC4D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.147 H 109.2°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CCCC4D
RGBrgb(204, 204, 77)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 62%, 80%)
CMYKcmyk(0%, 0%, 62.3%, 20%)
CIE-LABlab(79.93, -15.78, 61.16)
CIE-LCHlch(79.93, 63.16, 104.47°)
OKLaboklab(82.16% -0.0485 0.1389)
OKLCHoklch(82.16% 0.147 109.2)
XYZxyz(47.8358, 56.5603, 15.4171)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC4D #4D4DCC
analogous
#CC8C4D #CCCC4D #8CCC4D
triadic
#CCCC4D #4DCCCC #CC4DCC
tetradic
#CCCC4D #4DCC8C #4D4DCC #CC4D8C
square
#CCCC4D #4DCC8C #4D4DCC #CC4D8C
split-complementary
#CCCC4D #4D8CCC #8C4DCC
monochromatic
#7B7B23 #ABAB31 #CCCC4D #DADA7D #E7E7AC

Accessibility & contrast

On white

1.71
#CCCC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CCCC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC4D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC4D#FFFFFF#000000##000000
##CCCC4D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43D
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#DAC0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc4d;
/* rgb */ color: rgb(204, 204, 77);
/* oklch */ color: oklch(82.2% 0.147 109.2);
Tailwind
colors: {
  custom: {
    50: '#dedb85',
    500: '#cccc4d',
    950: '#000000',
  },
}
SCSS
$custom: #cccc4d;
$custom-light: #dedb85;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc4d",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82155,
    "c": 0.14714,
    "h": 109.2
  },
  "luminance": 0.56559
}

Semantic roles & 50–950 ramp

primary
#CCCC4D
secondary
#3A3A83
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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