#CCCC66#CCCC66

#CCCC66 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.125 H 108.9°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CCCC66
RGBrgb(204, 204, 102)
HSLhsl(60, 50%, 60%)
HSVhsv(60, 50%, 80%)
CMYKcmyk(0%, 0%, 50%, 20%)
CIE-LABlab(80.17, -13.90, 50.27)
CIE-LCHlch(80.17, 52.16, 105.45°)
OKLaboklab(82.42% -0.0405 0.1186)
OKLCHoklch(82.42% 0.125 108.9)
XYZxyz(48.8941, 56.9836, 20.9911)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC66 #6666CC
analogous
#CC9966 #CCCC66 #99CC66
triadic
#CCCC66 #66CCCC #CC66CC
tetradic
#CCCC66 #66CC99 #6666CC #CC6699
square
#CCCC66 #66CC99 #6666CC #CC6699
split-complementary
#CCCC66 #6699CC #9966CC
monochromatic
#8A8A2E #B8B83D #CCCC66 #DBDB94 #EBEBC2

Accessibility & contrast

On white

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

On black

12.40
#CCCC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC66
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC66#FFFFFF#000000##000000
##CCCC661.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#DBC96B
Tritanopia (blue-blind)
#D8C1B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc66;
/* rgb */ color: rgb(204, 204, 102);
/* oklch */ color: oklch(82.4% 0.125 108.9);
Tailwind
colors: {
  custom: {
    50: '#dddb94',
    500: '#cccc66',
    950: '#000000',
  },
}
SCSS
$custom: #cccc66;
$custom-light: #dddb94;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc66",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.82423,
    "c": 0.12532,
    "h": 108.9
  },
  "luminance": 0.56982
}

Semantic roles & 50–950 ramp

primary
#CCCC66
secondary
#464691
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCC66

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

Preview Lab → · Contrast checker → · Palette generator →

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