#CCC666#CCC666

#CCC666 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.119 H 105.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CCC666
RGBrgb(204, 198, 102)
HSLhsl(56, 50%, 60%)
HSVhsv(56, 50%, 80%)
CMYKcmyk(0%, 2.9%, 50%, 20%)
CIE-LABlab(78.57, -10.86, 48.38)
CIE-LCHlch(78.57, 49.58, 102.65°)
OKLaboklab(81.15% -0.0318 0.1145)
OKLCHoklch(81.15% 0.119 105.5)
XYZxyz(47.4954, 54.1862, 20.5249)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC666 #666CCC
analogous
#CC9366 #CCC666 #9FCC66
triadic
#CCC666 #66CCC6 #C666CC
tetradic
#CCC666 #66CC93 #666CCC #CC669F
square
#CCC666 #66CC93 #666CCC #CC669F
split-complementary
#CCC666 #669FCC #9366CC
monochromatic
#8A842E #B8B03D #CCC666 #DBD794 #EBE8C2

Accessibility & contrast

On white

1.77
#CCC666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CCC666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC666
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC666#FFFFFF#000000##000000
##CCC6661.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#D7C56B
Tritanopia (blue-blind)
#D9BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc666;
/* rgb */ color: rgb(204, 198, 102);
/* oklch */ color: oklch(81.1% 0.119 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd794',
    500: '#ccc666',
    950: '#000000',
  },
}
SCSS
$custom: #ccc666;
$custom-light: #ddd794;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc666",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 56.471,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.81149,
    "c": 0.11879,
    "h": 105.5
  },
  "luminance": 0.54185
}

Semantic roles & 50–950 ramp

primary
#CCC666
secondary
#464A91
accent
#56DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC666

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

Preview Lab → · Contrast checker → · Palette generator →

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