#CCCC4F#CCCC4F

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

Color values

HEX#CCCC4F
RGBrgb(204, 204, 79)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0%, 61.3%, 20%)
CIE-LABlab(79.95, -15.65, 60.34)
CIE-LCHlch(79.95, 62.34, 104.54°)
OKLaboklab(82.17% -0.0479 0.1375)
OKLCHoklch(82.17% 0.146 109.2)
XYZxyz(47.9075, 56.5889, 15.7948)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC4F #4F4FCC
analogous
#CC8D4F #CCCC4F #8DCC4F
triadic
#CCCC4F #4FCCCC #CC4FCC
tetradic
#CCCC4F #4FCC8D #4F4FCC #CC4F8D
square
#CCCC4F #4FCC8D #4F4FCC #CC4F8D
split-complementary
#CCCC4F #4F8DCC #8D4FCC
monochromatic
#7D7D24 #ACAC32 #CCCC4F #DADA7E #E7E7AE

Accessibility & contrast

On white

1.70
#CCCC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CCCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC4F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC4F#FFFFFF#000000##000000
##CCCC4F1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccc4f;
/* rgb */ color: rgb(204, 204, 79);
/* oklch */ color: oklch(82.2% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#dedb86',
    500: '#cccc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cccc4f;
$custom-light: #dedb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc4f",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82174,
    "c": 0.14559,
    "h": 109.2
  },
  "luminance": 0.56588
}

Semantic roles & 50–950 ramp

primary
#CCCC4F
secondary
#3B3B84
accent
#49DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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