#CCDC47#CCDC47

#CCDC47 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.6% C 0.169 H 115.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#CCDC47
RGBrgb(204, 220, 71)
HSLhsl(66, 68%, 57%)
HSVhsv(66, 68%, 86%)
CMYKcmyk(7.3%, 0%, 67.7%, 13.7%)
CIE-LABlab(84.21, -23.98, 67.94)
CIE-LCHlch(84.21, 72.05, 109.44°)
OKLaboklab(85.57% -0.0721 0.1523)
OKLCHoklch(85.57% 0.169 115.3)
XYZxyz(51.6337, 64.4795, 15.6858)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC47 #5747DC
analogous
#DCA247 #CCDC47 #82DC47
triadic
#CCDC47 #47CCDC #DC47CC
tetradic
#CCDC47 #47DCA2 #5747DC #DC4782
square
#CCDC47 #47DCA2 #5747DC #DC4782
split-complementary
#CCDC47 #4782DC #A247DC
monochromatic
#818E1B #B0C125 #CCDC47 #DAE67A #E9F0AE

Accessibility & contrast

On white

1.51
#CCDC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#CCDC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC47
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC47#FFFFFF#000000##000000
##CCDC471.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD130
Deuteranopia (green-blind)
#EAD352
Tritanopia (blue-blind)
#D9D0BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccdc47;
/* rgb */ color: rgb(204, 220, 71);
/* oklch */ color: oklch(85.6% 0.169 115.3);
Tailwind
colors: {
  custom: {
    50: '#dfe683',
    500: '#ccdc47',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc47;
$custom-light: #dfe683;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc47",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 66.443,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85568,
    "c": 0.16852,
    "h": 115.3
  },
  "luminance": 0.64479
}

Semantic roles & 50–950 ramp

primary
#CCDC47
secondary
#3E3493
accent
#3DEB50
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCDC47

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

Preview Lab → · Contrast checker → · Palette generator →

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