#CCD652#CCD652

#CCD652 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.154 H 113.3°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#CCD652
RGBrgb(204, 214, 82)
HSLhsl(65, 62%, 58%)
HSVhsv(65, 62%, 84%)
CMYKcmyk(4.7%, 0%, 61.7%, 16.1%)
CIE-LABlab(82.67, -20.40, 62.00)
CIE-LCHlch(82.67, 65.27, 108.21°)
OKLaboklab(84.36% -0.061 0.1414)
OKLCHoklch(84.36% 0.154 113.3)
XYZxyz(50.4727, 61.5407, 17.2007)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD652 #5C52D6
analogous
#D69E52 #CCD652 #8AD652
triadic
#CCD652 #52CCD6 #D652CC
tetradic
#CCD652 #52D69E #5C52D6 #D6528A
square
#CCD652 #52D69E #5C52D6 #D6528A
split-complementary
#CCD652 #528AD6 #9E52D6
monochromatic
#848C21 #B3BE2D #CCD652 #DBE283 #E9EDB5

Accessibility & contrast

On white

1.58
#CCD652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#CCD652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD652
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD652#FFFFFF#000000##000000
##CCD6521.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC42
Deuteranopia (green-blind)
#E5CF5B
Tritanopia (blue-blind)
#D9CABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd652;
/* rgb */ color: rgb(204, 214, 82);
/* oklch */ color: oklch(84.4% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#dee288',
    500: '#ccd652',
    950: '#000000',
  },
}
SCSS
$custom: #ccd652;
$custom-light: #dee288;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd652",
  "rgb": {
    "r": 204,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 64.545,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84356,
    "c": 0.154,
    "h": 113.3
  },
  "luminance": 0.6154
}

Semantic roles & 50–950 ramp

primary
#CCD652
secondary
#413A92
accent
#43E54F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD652

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

Preview Lab → · Contrast checker → · Palette generator →

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