#CCD052#CCD052

#CCD052 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.147 H 110.9°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CCD052
RGBrgb(204, 208, 82)
HSLhsl(62, 57%, 57%)
HSVhsv(62, 61%, 82%)
CMYKcmyk(1.9%, 0%, 60.6%, 18.4%)
CIE-LABlab(81.05, -17.44, 60.26)
CIE-LCHlch(81.05, 62.73, 106.15°)
OKLaboklab(83.06% -0.0527 0.1377)
OKLCHoklch(83.06% 0.147 110.9)
XYZxyz(48.9821, 58.5595, 16.7039)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD052 #5652D0
analogous
#D09552 #CCD052 #8DD052
triadic
#CCD052 #52CCD0 #D052CC
tetradic
#CCD052 #52D095 #5652D0 #D0528D
square
#CCD052 #52D095 #5652D0 #D0528D
split-complementary
#CCD052 #528DD0 #9552D0
monochromatic
#818424 #B0B431 #CCD052 #DADD82 #E8EAB2

Accessibility & contrast

On white

1.65
#CCD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CCD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD052
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD052#FFFFFF#000000##000000
##CCD0521.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D9C4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd052;
/* rgb */ color: rgb(204, 208, 82);
/* oklch */ color: oklch(83.1% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede88',
    500: '#ccd052',
    950: '#000000',
  },
}
SCSS
$custom: #ccd052;
$custom-light: #dede88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd052",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 61.905,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83061,
    "c": 0.14746,
    "h": 110.9
  },
  "luminance": 0.58558
}

Semantic roles & 50–950 ramp

primary
#CCD052
secondary
#3E3B8B
accent
#47E14C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD052

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

Preview Lab → · Contrast checker → · Palette generator →

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