#CCD945#CCD945

#CCD945 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 84.9% C 0.167 H 114.3°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#CCD945
RGBrgb(204, 217, 69)
HSLhsl(65, 66%, 56%)
HSVhsv(65, 68%, 85%)
CMYKcmyk(6%, 0%, 68.2%, 14.9%)
CIE-LABlab(83.39, -22.65, 67.85)
CIE-LCHlch(83.39, 71.53, 108.46°)
OKLaboklab(84.9% -0.0686 0.1518)
OKLCHoklch(84.9% 0.167 114.3)
XYZxyz(50.7902, 62.8937, 15.0932)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD945 #5245D9
analogous
#D99C45 #CCD945 #82D945
triadic
#CCD945 #45CCD9 #D945CC
tetradic
#CCD945 #45D99C #5245D9 #D94582
square
#CCD945 #45D99C #5245D9 #D94582
split-complementary
#CCD945 #4582D9 #9C45D9
monochromatic
#7E881C #AEBB26 #CCD945 #DAE378 #E8EEAB

Accessibility & contrast

On white

1.55
#CCD945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#CCD945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD945
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD945#FFFFFF#000000##000000
##CCD9451.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF2E
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd945;
/* rgb */ color: rgb(204, 217, 69);
/* oklch */ color: oklch(84.9% 0.167 114.3);
Tailwind
colors: {
  custom: {
    50: '#dfe481',
    500: '#ccd945',
    950: '#000000',
  },
}
SCSS
$custom: #ccd945;
$custom-light: #dfe481;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd945",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 65.27,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.849,
    "c": 0.16657,
    "h": 114.3
  },
  "luminance": 0.62893
}

Semantic roles & 50–950 ramp

primary
#CCD945
secondary
#3C348E
accent
#3FE94E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD945

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

Preview Lab → · Contrast checker → · Palette generator →

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