#CCD96C#CCD96C

#CCD96C is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.135 H 114.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CCD96C
RGBrgb(204, 217, 108)
HSLhsl(67, 59%, 64%)
HSVhsv(67, 50%, 85%)
CMYKcmyk(6%, 0%, 50.2%, 14.9%)
CIE-LABlab(83.73, -19.82, 51.66)
CIE-LCHlch(83.73, 55.33, 110.99°)
OKLaboklab(85.28% -0.0568 0.1221)
OKLCHoklch(85.28% 0.135 114.9)
XYZxyz(52.4223, 63.5465, 23.6886)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD96C #796CD9
analogous
#D9AF6C #CCD96C #95D96C
triadic
#CCD96C #6CCCD9 #D96CCC
tetradic
#CCD96C #6CD9AF #796CD9 #D96C95
square
#CCD96C #6CD9AF #796CD9 #D96C95
split-complementary
#CCD96C #6C95D9 #AF6CD9
monochromatic
#93A12A #BBCC3B #CCD96C #DDE69D #EEF2CD

Accessibility & contrast

On white

1.53
#CCD96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CCD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD96C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD96C#FFFFFF#000000##000000
##CCD96C1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#E5D272
Tritanopia (blue-blind)
#D7CFC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd96c;
/* rgb */ color: rgb(204, 217, 108);
/* oklch */ color: oklch(85.3% 0.135 114.9);
Tailwind
colors: {
  custom: {
    50: '#dde499',
    500: '#ccd96c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd96c;
$custom-light: #dde499;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd96c",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 67.156,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85284,
    "c": 0.13469,
    "h": 114.9
  },
  "luminance": 0.63546
}

Semantic roles & 50–950 ramp

primary
#CCD96C
secondary
#5045A5
accent
#1FC733
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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