#CCD960#CCD960

#CCD960 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.1% C 0.146 H 114.7°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#CCD960
RGBrgb(204, 217, 96)
HSLhsl(66, 61%, 61%)
HSVhsv(66, 56%, 85%)
CMYKcmyk(6%, 0%, 55.8%, 14.9%)
CIE-LABlab(83.60, -20.84, 57.00)
CIE-LCHlch(83.60, 60.69, 110.09°)
OKLaboklab(85.14% -0.0608 0.1325)
OKLCHoklch(85.14% 0.146 114.7)
XYZxyz(51.8270, 63.3084, 20.5536)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD960 #6D60D9
analogous
#D9AA60 #CCD960 #90D960
triadic
#CCD960 #60CCD9 #D960CC
tetradic
#CCD960 #60D9AA #6D60D9 #D96090
square
#CCD960 #60D9AA #6D60D9 #D96090
split-complementary
#CCD960 #6090D9 #AA60D9
monochromatic
#8D9A25 #BBCB31 #CCD960 #DCE591 #ECF1C3

Accessibility & contrast

On white

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

On black

13.66
#CCD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD960
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD960#FFFFFF#000000##000000
##CCD9601.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF53
Deuteranopia (green-blind)
#E6D267
Tritanopia (blue-blind)
#D8CEBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd960;
/* rgb */ color: rgb(204, 217, 96);
/* oklch */ color: oklch(85.1% 0.146 114.7);
Tailwind
colors: {
  custom: {
    50: '#dee491',
    500: '#ccd960',
    950: '#000000',
  },
}
SCSS
$custom: #ccd960;
$custom-light: #dee491;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd960",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 66.446,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85144,
    "c": 0.1458,
    "h": 114.7
  },
  "luminance": 0.63308
}

Semantic roles & 50–950 ramp

primary
#CCD960
secondary
#493F9E
accent
#1CC92F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD960

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

Preview Lab → · Contrast checker → · Palette generator →

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