#CCD96D#CCD96D

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

Color values

HEX#CCD96D
RGBrgb(204, 217, 109)
HSLhsl(67, 59%, 64%)
HSVhsv(67, 50%, 85%)
CMYKcmyk(6%, 0%, 49.8%, 14.9%)
CIE-LABlab(83.74, -19.73, 51.20)
CIE-LCHlch(83.74, 54.87, 111.08°)
OKLaboklab(85.3% -0.0564 0.1212)
OKLCHoklch(85.3% 0.134 115)
XYZxyz(52.4758, 63.5679, 23.9705)
Luminance0.6357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD96D #7A6DD9
analogous
#D9B06D #CCD96D #96D96D
triadic
#CCD96D #6DCCD9 #D96DCC
tetradic
#CCD96D #6DD9B0 #7A6DD9 #D96D96
square
#CCD96D #6DD9B0 #7A6DD9 #D96D96
split-complementary
#CCD96D #6D96D9 #B06DD9
monochromatic
#93A22A #BBCC3C #CCD96D #DDE69E #EEF2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD96D#FFFFFF#000000##000000
##CCD96D1.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)
#E6D063
Deuteranopia (green-blind)
#E5D273
Tritanopia (blue-blind)
#D7CFC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd96d;
/* rgb */ color: rgb(204, 217, 109);
/* oklch */ color: oklch(85.3% 0.134 115.0);
Tailwind
colors: {
  custom: {
    50: '#dde499',
    500: '#ccd96d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd96d;
$custom-light: #dde499;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd96d",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 67.222,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85297,
    "c": 0.13371,
    "h": 115
  },
  "luminance": 0.63567
}

Semantic roles & 50–950 ramp

primary
#CCD96D
secondary
#5145A5
accent
#1FC633
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD96D

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

Preview Lab → · Contrast checker → · Palette generator →

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