#CCD752#CCD752

#CCD752 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.6% C 0.155 H 113.7°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#CCD752
RGBrgb(204, 215, 82)
HSLhsl(65, 62%, 58%)
HSVhsv(65, 62%, 84%)
CMYKcmyk(5.1%, 0%, 61.9%, 15.7%)
CIE-LABlab(82.94, -20.89, 62.29)
CIE-LCHlch(82.94, 65.70, 108.54°)
OKLaboklab(84.57% -0.0624 0.142)
OKLCHoklch(84.57% 0.155 113.7)
XYZxyz(50.7265, 62.0484, 17.2853)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD752 #5D52D7
analogous
#D79F52 #CCD752 #8AD752
triadic
#CCD752 #52CCD7 #D752CC
tetradic
#CCD752 #52D79F #5D52D7 #D7528A
square
#CCD752 #52D79F #5D52D7 #D7528A
split-complementary
#CCD752 #528AD7 #9F52D7
monochromatic
#858E21 #B3C02C #CCD752 #DBE284 #E9EEB5

Accessibility & contrast

On white

1.57
#CCD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#CCD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD752
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD752#FFFFFF#000000##000000
##CCD7521.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#D9CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd752;
/* rgb */ color: rgb(204, 215, 82);
/* oklch */ color: oklch(84.6% 0.155 113.7);
Tailwind
colors: {
  custom: {
    50: '#dee388',
    500: '#ccd752',
    950: '#000000',
  },
}
SCSS
$custom: #ccd752;
$custom-light: #dee388;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd752",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 64.962,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84572,
    "c": 0.15512,
    "h": 113.7
  },
  "luminance": 0.62047
}

Semantic roles & 50–950 ramp

primary
#CCD752
secondary
#413A93
accent
#42E650
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD752

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

Preview Lab → · Contrast checker → · Palette generator →

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