#CCD947#CCD947

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

Color values

HEX#CCD947
RGBrgb(204, 217, 71)
HSLhsl(65, 66%, 56%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(6%, 0%, 67.3%, 14.9%)
CIE-LABlab(83.40, -22.54, 67.12)
CIE-LCHlch(83.40, 70.80, 108.56°)
OKLaboklab(84.92% -0.0681 0.1506)
OKLCHoklch(84.92% 0.165 114.3)
XYZxyz(50.8534, 62.9189, 15.4257)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD947 #5447D9
analogous
#D99D47 #CCD947 #83D947
triadic
#CCD947 #47CCD9 #D947CC
tetradic
#CCD947 #47D99D #5447D9 #D94783
square
#CCD947 #47D99D #5447D9 #D94783
split-complementary
#CCD947 #4783D9 #9D47D9
monochromatic
#80891C #AFBC27 #CCD947 #DAE37A #E8EEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD947#FFFFFF#000000##000000
##CCD9471.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)
#E8CF31
Deuteranopia (green-blind)
#E8D152
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd947;
/* rgb */ color: rgb(204, 217, 71);
/* oklch */ color: oklch(84.9% 0.165 114.3);
Tailwind
colors: {
  custom: {
    50: '#dfe482',
    500: '#ccd947',
    950: '#000000',
  },
}
SCSS
$custom: #ccd947;
$custom-light: #dfe482;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd947",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 65.342,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.16526,
    "h": 114.3
  },
  "luminance": 0.62918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCD947

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

Preview Lab → · Contrast checker → · Palette generator →

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