#CCCA66#CCCA66

#CCCA66 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.123 H 107.8°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CCCA66
RGBrgb(204, 202, 102)
HSLhsl(59, 50%, 60%)
HSVhsv(59, 50%, 80%)
CMYKcmyk(0%, 1%, 50%, 20%)
CIE-LABlab(79.64, -12.89, 49.64)
CIE-LCHlch(79.64, 51.29, 104.55°)
OKLaboklab(82% -0.0376 0.1172)
OKLCHoklch(82% 0.123 107.8)
XYZxyz(48.4218, 56.0390, 20.8337)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA66 #6668CC
analogous
#CC9766 #CCCA66 #9BCC66
triadic
#CCCA66 #66CCCA #CA66CC
tetradic
#CCCA66 #66CC97 #6668CC #CC669B
square
#CCCA66 #66CC97 #6668CC #CC669B
split-complementary
#CCCA66 #669BCC #9766CC
monochromatic
#8A882E #B8B53D #CCCA66 #DBDA94 #EBEAC2

Accessibility & contrast

On white

1.72
#CCCA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CCCA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA66
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA66#FFFFFF#000000##000000
##CCCA661.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35D
Deuteranopia (green-blind)
#DAC76B
Tritanopia (blue-blind)
#D8BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca66;
/* rgb */ color: rgb(204, 202, 102);
/* oklch */ color: oklch(82.0% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#ddda94',
    500: '#ccca66',
    950: '#000000',
  },
}
SCSS
$custom: #ccca66;
$custom-light: #ddda94;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca66",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 58.824,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.81997,
    "c": 0.1231,
    "h": 107.8
  },
  "luminance": 0.56038
}

Semantic roles & 50–950 ramp

primary
#CCCA66
secondary
#464791
accent
#51DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA66

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

Preview Lab → · Contrast checker → · Palette generator →

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