#CCDF57#CCDF57

#CCDF57 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.4% C 0.160 H 116.6°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#CCDF57
RGBrgb(204, 223, 87)
HSLhsl(68, 68%, 61%)
HSVhsv(68, 61%, 87%)
CMYKcmyk(8.5%, 0%, 61%, 12.5%)
CIE-LABlab(85.15, -24.42, 62.60)
CIE-LCHlch(85.15, 67.19, 111.31°)
OKLaboklab(86.36% -0.0718 0.1433)
OKLCHoklch(86.36% 0.16 116.6)
XYZxyz(53.0109, 66.3015, 19.0198)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDF57 #6A57DF
analogous
#DFAE57 #CCDF57 #88DF57
triadic
#CCDF57 #57CCDF #DF57CC
tetradic
#CCDF57 #57DFAE #6A57DF #DF5788
square
#CCDF57 #57DFAE #6A57DF #DF5788
split-complementary
#CCDF57 #5788DF #AE57DF
monochromatic
#8C9E1E #B9D128 #CCDF57 #DCE98A #EBF3BE

Accessibility & contrast

On white

1.47
#CCDF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#CCDF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDF57
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDF57#FFFFFF#000000##000000
##CCDF571.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#D8D3C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ccdf57;
/* rgb */ color: rgb(204, 223, 87);
/* oklch */ color: oklch(86.4% 0.160 116.6);
Tailwind
colors: {
  custom: {
    50: '#dee88c',
    500: '#ccdf57',
    950: '#000000',
  },
}
SCSS
$custom: #ccdf57;
$custom-light: #dee88c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdf57",
  "rgb": {
    "r": 204,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 68.382,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86357,
    "c": 0.16029,
    "h": 116.6
  },
  "luminance": 0.66301
}

Semantic roles & 50–950 ramp

primary
#CCDF57
secondary
#4839A1
accent
#16D030
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCDF57

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

Preview Lab → · Contrast checker → · Palette generator →

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