#CCC866#CCC866

#CCC866 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.121 H 106.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CCC866
RGBrgb(204, 200, 102)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 2%, 50%, 20%)
CIE-LABlab(79.10, -11.88, 49.01)
CIE-LCHlch(79.10, 50.43, 103.62°)
OKLaboklab(81.57% -0.0347 0.1158)
OKLCHoklch(81.57% 0.121 106.7)
XYZxyz(47.9556, 55.1065, 20.6783)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC866 #666ACC
analogous
#CC9566 #CCC866 #9DCC66
triadic
#CCC866 #66CCC8 #C866CC
tetradic
#CCC866 #66CC95 #666ACC #CC669D
square
#CCC866 #66CC95 #666ACC #CC669D
split-complementary
#CCC866 #669DCC #9566CC
monochromatic
#8A862E #B8B33D #CCC866 #DBD894 #EBE9C2

Accessibility & contrast

On white

1.75
#CCC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CCC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC866
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC866#FFFFFF#000000##000000
##CCC8661.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25D
Deuteranopia (green-blind)
#D8C66B
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc866;
/* rgb */ color: rgb(204, 200, 102);
/* oklch */ color: oklch(81.6% 0.121 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd894',
    500: '#ccc866',
    950: '#000000',
  },
}
SCSS
$custom: #ccc866;
$custom-light: #ddd894;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc866",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 57.647,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.81573,
    "c": 0.12093,
    "h": 106.7
  },
  "luminance": 0.55105
}

Semantic roles & 50–950 ramp

primary
#CCC866
secondary
#464991
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC866

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

Preview Lab → · Contrast checker → · Palette generator →

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