#CCCB66#CCCB66

#CCCB66 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.124 H 108.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CCCB66
RGBrgb(204, 203, 102)
HSLhsl(59, 50%, 60%)
HSVhsv(59, 50%, 80%)
CMYKcmyk(0%, 0.5%, 50%, 20%)
CIE-LABlab(79.90, -13.39, 49.96)
CIE-LCHlch(79.90, 51.72, 105.01°)
OKLaboklab(82.21% -0.0391 0.1179)
OKLCHoklch(82.21% 0.124 108.3)
XYZxyz(48.6572, 56.5098, 20.9121)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB66 #6667CC
analogous
#CC9866 #CCCB66 #9ACC66
triadic
#CCCB66 #66CCCB #CB66CC
tetradic
#CCCB66 #66CC98 #6667CC #CC669A
square
#CCCB66 #66CC98 #6667CC #CC669A
split-complementary
#CCCB66 #669ACC #9866CC
monochromatic
#8A892E #B8B63D #CCCB66 #DBDB94 #EBEAC2

Accessibility & contrast

On white

1.71
#CCCB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CCCB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB66
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB66#FFFFFF#000000##000000
##CCCB661.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DBC86B
Tritanopia (blue-blind)
#D8C0B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb66;
/* rgb */ color: rgb(204, 203, 102);
/* oklch */ color: oklch(82.2% 0.124 108.3);
Tailwind
colors: {
  custom: {
    50: '#ddda94',
    500: '#cccb66',
    950: '#000000',
  },
}
SCSS
$custom: #cccb66;
$custom-light: #ddda94;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb66",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 102
  },
  "hsl": {
    "h": 59.412,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.8221,
    "c": 0.1242,
    "h": 108.3
  },
  "luminance": 0.56509
}

Semantic roles & 50–950 ramp

primary
#CCCB66
secondary
#464691
accent
#50DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCB66

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

Preview Lab → · Contrast checker → · Palette generator →

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