#CCD966#CCD966

#CCD966 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.140 H 114.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#CCD966
RGBrgb(204, 217, 102)
HSLhsl(67, 60%, 63%)
HSVhsv(67, 53%, 85%)
CMYKcmyk(6%, 0%, 53%, 14.9%)
CIE-LABlab(83.66, -20.35, 54.36)
CIE-LCHlch(83.66, 58.05, 110.52°)
OKLaboklab(85.21% -0.0588 0.1275)
OKLCHoklch(85.21% 0.14 114.8)
XYZxyz(52.1139, 63.4231, 22.0644)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD966 #7366D9
analogous
#D9AD66 #CCD966 #92D966
triadic
#CCD966 #66CCD9 #D966CC
tetradic
#CCD966 #66D9AD #7366D9 #D96692
square
#CCD966 #66D9AD #7366D9 #D96692
split-complementary
#CCD966 #6692D9 #AD66D9
monochromatic
#909D27 #BCCD35 #CCD966 #DCE597 #EDF1C8

Accessibility & contrast

On white

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

On black

13.68
#CCD966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD966
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD966#FFFFFF#000000##000000
##CCD9661.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D05B
Deuteranopia (green-blind)
#E6D26C
Tritanopia (blue-blind)
#D7CEBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd966;
/* rgb */ color: rgb(204, 217, 102);
/* oklch */ color: oklch(85.2% 0.140 114.8);
Tailwind
colors: {
  custom: {
    50: '#dee495',
    500: '#ccd966',
    950: '#000000',
  },
}
SCSS
$custom: #ccd966;
$custom-light: #dee495;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd966",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 66.783,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85212,
    "c": 0.14038,
    "h": 114.8
  },
  "luminance": 0.63422
}

Semantic roles & 50–950 ramp

primary
#CCD966
secondary
#4D42A1
accent
#1EC831
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD966

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

Preview Lab → · Contrast checker → · Palette generator →

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