#CCD847#CCD847

#CCD847 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.164 H 114.0°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#CCD847
RGBrgb(204, 216, 71)
HSLhsl(65, 65%, 56%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(5.6%, 0%, 67.1%, 15.3%)
CIE-LABlab(83.13, -22.05, 66.84)
CIE-LCHlch(83.13, 70.39, 108.26°)
OKLaboklab(84.7% -0.0667 0.15)
OKLCHoklch(84.7% 0.164 114)
XYZxyz(50.5964, 62.4050, 15.3400)
Luminance0.6240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD847 #5347D8
analogous
#D89C47 #CCD847 #84D847
triadic
#CCD847 #47CCD8 #D847CC
tetradic
#CCD847 #47D89C #5347D8 #D84784
square
#CCD847 #47D89C #5347D8 #D84784
split-complementary
#CCD847 #4784D8 #9C47D8
monochromatic
#7F881D #AEBA27 #CCD847 #DAE379 #E8EDAC

Accessibility & contrast

On white

1.56
#CCD847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#CCD847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD847
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD847#FFFFFF#000000##000000
##CCD8471.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE31
Deuteranopia (green-blind)
#E7D052
Tritanopia (blue-blind)
#D9CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd847;
/* rgb */ color: rgb(204, 216, 71);
/* oklch */ color: oklch(84.7% 0.164 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe382',
    500: '#ccd847',
    950: '#000000',
  },
}
SCSS
$custom: #ccd847;
$custom-light: #dfe382;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd847",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 64.966,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84697,
    "c": 0.16417,
    "h": 114
  },
  "luminance": 0.62404
}

Semantic roles & 50–950 ramp

primary
#CCD847
secondary
#3D358E
accent
#40E84E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD847

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

Preview Lab → · Contrast checker → · Palette generator →

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