#CCC752#CCC752

#CCC752 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.138 H 106.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CCC752
RGBrgb(204, 199, 82)
HSLhsl(58, 54%, 56%)
HSVhsv(58, 60%, 80%)
CMYKcmyk(0%, 2.5%, 59.8%, 20%)
CIE-LABlab(78.63, -12.94, 57.64)
CIE-LCHlch(78.63, 59.07, 102.65°)
OKLaboklab(81.13% -0.0399 0.1322)
OKLCHoklch(81.13% 0.138 106.8)
XYZxyz(46.8498, 54.2949, 15.9931)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC752 #5257CC
analogous
#CC8A52 #CCC752 #94CC52
triadic
#CCC752 #52CCC7 #C752CC
tetradic
#CCC752 #52CC8A #5257CC #CC5294
square
#CCC752 #52CC8A #5257CC #CC5294
split-complementary
#CCC752 #5294CC #8A52CC
monochromatic
#7E7B25 #AEA933 #CCC752 #DAD681 #E8E6B1

Accessibility & contrast

On white

1.77
#CCC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CCC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC752
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC752#FFFFFF#000000##000000
##CCC7521.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc752;
/* rgb */ color: rgb(204, 199, 82);
/* oklch */ color: oklch(81.1% 0.138 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#ccc752',
    950: '#000000',
  },
}
SCSS
$custom: #ccc752;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc752",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 57.541,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81134,
    "c": 0.13805,
    "h": 106.8
  },
  "luminance": 0.54293
}

Semantic roles & 50–950 ramp

primary
#CCC752
secondary
#3C3F86
accent
#50DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC752

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

Preview Lab → · Contrast checker → · Palette generator →

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