#CCDC57#CCDC57

#CCDC57 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.7% C 0.157 H 115.6°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#CCDC57
RGBrgb(204, 220, 87)
HSLhsl(67, 66%, 60%)
HSVhsv(67, 60%, 86%)
CMYKcmyk(7.3%, 0%, 60.5%, 13.7%)
CIE-LABlab(84.34, -22.98, 61.71)
CIE-LCHlch(84.34, 65.85, 110.42°)
OKLaboklab(85.7% -0.0677 0.1415)
OKLCHoklch(85.7% 0.157 115.6)
XYZxyz(52.2164, 64.7126, 18.7550)
Luminance0.6471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC57 #6757DC
analogous
#DCA957 #CCDC57 #89DC57
triadic
#CCDC57 #57CCDC #DC57CC
tetradic
#CCDC57 #57DCA9 #6757DC #DC5789
square
#CCDC57 #57DCA9 #6757DC #DC5789
split-complementary
#CCDC57 #5789DC #A957DC
monochromatic
#8A9920 #B8CB2A #CCDC57 #DBE78A #EBF1BC

Accessibility & contrast

On white

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

On black

13.94
#CCDC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC57
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC57#FFFFFF#000000##000000
##CCDC571.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD247
Deuteranopia (green-blind)
#E9D460
Tritanopia (blue-blind)
#D8D0C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccdc57;
/* rgb */ color: rgb(204, 220, 87);
/* oklch */ color: oklch(85.7% 0.157 115.6);
Tailwind
colors: {
  custom: {
    50: '#dee68c',
    500: '#ccdc57',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc57;
$custom-light: #dee68c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc57",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 67.218,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85704,
    "c": 0.15683,
    "h": 115.6
  },
  "luminance": 0.64712
}

Semantic roles & 50–950 ramp

primary
#CCDC57
secondary
#463A9D
accent
#18CD2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCDC57

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

Preview Lab → · Contrast checker → · Palette generator →

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