#CCC166#CCC166

#CCC166 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.114 H 102.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CCC166
RGBrgb(204, 193, 102)
HSLhsl(54, 50%, 60%)
HSVhsv(54, 50%, 80%)
CMYKcmyk(0%, 5.4%, 50%, 20%)
CIE-LABlab(77.24, -8.30, 46.79)
CIE-LCHlch(77.24, 47.52, 100.05°)
OKLaboklab(80.1% -0.0245 0.111)
OKLCHoklch(80.1% 0.114 102.4)
XYZxyz(46.3714, 51.9381, 20.1502)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC166 #6671CC
analogous
#CC8E66 #CCC166 #A4CC66
triadic
#CCC166 #66CCC1 #C166CC
tetradic
#CCC166 #66CC8E #6671CC #CC66A4
square
#CCC166 #66CC8E #6671CC #CC66A4
split-complementary
#CCC166 #66A4CC #8E66CC
monochromatic
#8A802E #B8AA3D #CCC166 #DBD494 #EBE6C2

Accessibility & contrast

On white

1.84
#CCC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CCC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC166
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC166#FFFFFF#000000##000000
##CCC1661.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC5E
Deuteranopia (green-blind)
#D3C16A
Tritanopia (blue-blind)
#D9B6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc166;
/* rgb */ color: rgb(204, 193, 102);
/* oklch */ color: oklch(80.1% 0.114 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd394',
    500: '#ccc166',
    950: '#000000',
  },
}
SCSS
$custom: #ccc166;
$custom-light: #ddd394;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc166",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 53.529,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.80096,
    "c": 0.11365,
    "h": 102.4
  },
  "luminance": 0.51937
}

Semantic roles & 50–950 ramp

primary
#CCC166
secondary
#464E91
accent
#5DDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC166

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

Preview Lab → · Contrast checker → · Palette generator →

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