#CCCC4C#CCCC4C

#CCCC4C is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.148 H 109.3°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CCCC4C
RGBrgb(204, 204, 76)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0%, 62.7%, 20%)
CIE-LABlab(79.92, -15.84, 61.56)
CIE-LCHlch(79.92, 63.57, 104.43°)
OKLaboklab(82.15% -0.0488 0.1396)
OKLCHoklch(82.15% 0.148 109.3)
XYZxyz(47.8007, 56.5462, 15.2326)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC4C #4C4CCC
analogous
#CC8C4C #CCCC4C #8CCC4C
triadic
#CCCC4C #4CCCCC #CC4CCC
tetradic
#CCCC4C #4CCC8C #4C4CCC #CC4C8C
square
#CCCC4C #4CCC8C #4C4CCC #CC4C8C
split-complementary
#CCCC4C #4C8CCC #8C4CCC
monochromatic
#7B7B23 #AAAA31 #CCCC4C #DADA7C #E7E7AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC4C#FFFFFF#000000##000000
##CCCC4C1.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)
#DCC43C
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc4c;
/* rgb */ color: rgb(204, 204, 76);
/* oklch */ color: oklch(82.1% 0.148 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb84',
    500: '#cccc4c',
    950: '#000000',
  },
}
SCSS
$custom: #cccc4c;
$custom-light: #dfdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc4c",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82147,
    "c": 0.14791,
    "h": 109.3
  },
  "luminance": 0.56545
}

Semantic roles & 50–950 ramp

primary
#CCCC4C
secondary
#393983
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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