#CCCB52#CCCB52

#CCCB52 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.142 H 108.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CCCB52
RGBrgb(204, 203, 82)
HSLhsl(60, 54%, 56%)
HSVhsv(60, 60%, 80%)
CMYKcmyk(0%, 0.5%, 59.8%, 20%)
CIE-LABlab(79.70, -14.95, 58.80)
CIE-LCHlch(79.70, 60.68, 104.27°)
OKLaboklab(81.99% -0.0456 0.1346)
OKLCHoklch(81.99% 0.142 108.7)
XYZxyz(47.7822, 56.1598, 16.3039)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB52 #5253CC
analogous
#CC8E52 #CCCB52 #90CC52
triadic
#CCCB52 #52CCCB #CB52CC
tetradic
#CCCB52 #52CC8E #5253CC #CC5290
square
#CCCB52 #52CC8E #5253CC #CC5290
split-complementary
#CCCB52 #5290CC #8E52CC
monochromatic
#7E7E25 #AEAD33 #CCCB52 #DAD981 #E8E7B1

Accessibility & contrast

On white

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

On black

12.23
#CCCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB52
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB52#FFFFFF#000000##000000
##CCCB521.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#D9BFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb52;
/* rgb */ color: rgb(204, 203, 82);
/* oklch */ color: oklch(82.0% 0.142 108.7);
Tailwind
colors: {
  custom: {
    50: '#deda88',
    500: '#cccb52',
    950: '#000000',
  },
}
SCSS
$custom: #cccb52;
$custom-light: #deda88;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb52",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 59.508,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81988,
    "c": 0.14216,
    "h": 108.7
  },
  "luminance": 0.56158
}

Semantic roles & 50–950 ramp

primary
#CCCB52
secondary
#3C3D86
accent
#4BDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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