#CCD952#CCD952

#CCD952 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.157 H 114.4°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CCD952
RGBrgb(204, 217, 82)
HSLhsl(66, 64%, 59%)
HSVhsv(66, 62%, 85%)
CMYKcmyk(6%, 0%, 62.2%, 14.9%)
CIE-LABlab(83.48, -21.86, 62.87)
CIE-LCHlch(83.48, 66.56, 109.17°)
OKLaboklab(85.01% -0.0651 0.1432)
OKLCHoklch(85.01% 0.157 114.4)
XYZxyz(51.2389, 63.0731, 17.4561)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD952 #5F52D9
analogous
#D9A252 #CCD952 #88D952
triadic
#CCD952 #52CCD9 #D952CC
tetradic
#CCD952 #52D9A2 #5F52D9 #D95288
square
#CCD952 #52D9A2 #5F52D9 #D95288
split-complementary
#CCD952 #5288D9 #A252D9
monochromatic
#869120 #B4C32B #CCD952 #DBE484 #EAEFB6

Accessibility & contrast

On white

1.54
#CCD952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CCD952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD952
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD952#FFFFFF#000000##000000
##CCD9521.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#D8CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd952;
/* rgb */ color: rgb(204, 217, 82);
/* oklch */ color: oklch(85.0% 0.157 114.4);
Tailwind
colors: {
  custom: {
    50: '#dee489',
    500: '#ccd952',
    950: '#000000',
  },
}
SCSS
$custom: #ccd952;
$custom-light: #dee489;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd952",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 65.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85006,
    "c": 0.15735,
    "h": 114.4
  },
  "luminance": 0.63072
}

Semantic roles & 50–950 ramp

primary
#CCD952
secondary
#423996
accent
#41E751
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD952

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

Preview Lab → · Contrast checker → · Palette generator →

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