#CCD968#CCD968

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

Color values

HEX#CCD968
RGBrgb(204, 217, 104)
HSLhsl(67, 60%, 63%)
HSVhsv(67, 52%, 85%)
CMYKcmyk(6%, 0%, 52.1%, 14.9%)
CIE-LABlab(83.69, -20.18, 53.47)
CIE-LCHlch(83.69, 57.15, 110.68°)
OKLaboklab(85.24% -0.0581 0.1257)
OKLCHoklch(85.24% 0.139 114.8)
XYZxyz(52.2143, 63.4633, 22.5930)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD968 #7568D9
analogous
#D9AE68 #CCD968 #93D968
triadic
#CCD968 #68CCD9 #D968CC
tetradic
#CCD968 #68D9AE #7568D9 #D96893
square
#CCD968 #68D9AE #7568D9 #D96893
split-complementary
#CCD968 #6893D9 #AE68D9
monochromatic
#919F28 #BBCD37 #CCD968 #DDE599 #EDF2CA

Accessibility & contrast

On white

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

On black

13.69
#CCD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD968
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD968#FFFFFF#000000##000000
##CCD9681.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D05D
Deuteranopia (green-blind)
#E6D26E
Tritanopia (blue-blind)
#D7CEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd968;
/* rgb */ color: rgb(204, 217, 104);
/* oklch */ color: oklch(85.2% 0.139 114.8);
Tailwind
colors: {
  custom: {
    50: '#dee496',
    500: '#ccd968',
    950: '#000000',
  },
}
SCSS
$custom: #ccd968;
$custom-light: #dee496;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd968",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 66.903,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85236,
    "c": 0.13851,
    "h": 114.8
  },
  "luminance": 0.63463
}

Semantic roles & 50–950 ramp

primary
#CCD968
secondary
#4E43A3
accent
#1EC732
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD968

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

Preview Lab → · Contrast checker → · Palette generator →

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