#CCD954#CCD954

#CCD954 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.156 H 114.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CCD954
RGBrgb(204, 217, 84)
HSLhsl(66, 64%, 59%)
HSVhsv(66, 61%, 85%)
CMYKcmyk(6%, 0%, 61.3%, 14.9%)
CIE-LABlab(83.50, -21.73, 62.06)
CIE-LCHlch(83.50, 65.75, 109.30°)
OKLaboklab(85.02% -0.0645 0.1418)
OKLCHoklch(85.02% 0.156 114.5)
XYZxyz(51.3161, 63.1040, 17.8628)
Luminance0.6310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD954 #6154D9
analogous
#D9A454 #CCD954 #8AD954
triadic
#CCD954 #54CCD9 #D954CC
tetradic
#CCD954 #54D9A4 #6154D9 #D9548A
square
#CCD954 #54D9A4 #6154D9 #D9548A
split-complementary
#CCD954 #548AD9 #A454D9
monochromatic
#879220 #B5C42C #CCD954 #DBE486 #EAEFB8

Accessibility & contrast

On white

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

On black

13.62
#CCD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD954
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD954#FFFFFF#000000##000000
##CCD9541.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#E7D15D
Tritanopia (blue-blind)
#D8CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd954;
/* rgb */ color: rgb(204, 217, 84);
/* oklch */ color: oklch(85.0% 0.156 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee48a',
    500: '#ccd954',
    950: '#000000',
  },
}
SCSS
$custom: #ccd954;
$custom-light: #dee48a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd954",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 65.865,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85024,
    "c": 0.1558,
    "h": 114.5
  },
  "luminance": 0.63103
}

Semantic roles & 50–950 ramp

primary
#CCD954
secondary
#433A97
accent
#41E751
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD954

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

Preview Lab → · Contrast checker → · Palette generator →

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