#CCD166#CCD166

#CCD166 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.5% C 0.131 H 111.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CCD166
RGBrgb(204, 209, 102)
HSLhsl(63, 54%, 61%)
HSVhsv(63, 51%, 82%)
CMYKcmyk(2.4%, 0%, 51.2%, 18%)
CIE-LABlab(81.51, -16.40, 51.85)
CIE-LCHlch(81.51, 54.38, 107.55°)
OKLaboklab(83.49% -0.0476 0.122)
OKLCHoklch(83.49% 0.131 111.3)
XYZxyz(50.1016, 59.3986, 21.3936)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD166 #6B66D1
analogous
#D1A066 #CCD166 #96D166
triadic
#CCD166 #66CCD1 #D166CC
tetradic
#CCD166 #66D1A0 #6B66D1 #D16696
square
#CCD166 #66D1A0 #6B66D1 #D16696
split-complementary
#CCD166 #6696D1 #A066D1
monochromatic
#8C912C #BAC03A #CCD166 #DCDF95 #EBEDC4

Accessibility & contrast

On white

1.63
#CCD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CCD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD166
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD166#FFFFFF#000000##000000
##CCD1661.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#DFCC6C
Tritanopia (blue-blind)
#D8C6B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd166;
/* rgb */ color: rgb(204, 209, 102);
/* oklch */ color: oklch(83.5% 0.131 111.3);
Tailwind
colors: {
  custom: {
    50: '#dedf94',
    500: '#ccd166',
    950: '#000000',
  },
}
SCSS
$custom: #ccd166;
$custom-light: #dedf94;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd166",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 62.804,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83491,
    "c": 0.13098,
    "h": 111.3
  },
  "luminance": 0.59398
}

Semantic roles & 50–950 ramp

primary
#CCD166
secondary
#484497
accent
#24C12C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD166

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

Preview Lab → · Contrast checker → · Palette generator →

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