#CCD857#CCD857

#CCD857 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.152 H 114.1°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CCD857
RGBrgb(204, 216, 87)
HSLhsl(66, 62%, 59%)
HSVhsv(66, 60%, 85%)
CMYKcmyk(5.6%, 0%, 59.7%, 15.3%)
CIE-LABlab(83.25, -21.03, 60.53)
CIE-LCHlch(83.25, 64.08, 109.16°)
OKLaboklab(84.84% -0.0623 0.139)
OKLCHoklch(84.84% 0.152 114.1)
XYZxyz(51.1792, 62.6381, 18.4093)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD857 #6357D8
analogous
#D8A357 #CCD857 #8CD857
triadic
#CCD857 #57CCD8 #D857CC
tetradic
#CCD857 #57D8A3 #6357D8 #D8578C
square
#CCD857 #57D8A3 #6357D8 #D8578C
split-complementary
#CCD857 #578CD8 #A357D8
monochromatic
#889322 #B6C42E #CCD857 #DBE489 #EAEFBA

Accessibility & contrast

On white

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

On black

13.53
#CCD857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD857
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD857#FFFFFF#000000##000000
##CCD8571.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE48
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#D8CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd857;
/* rgb */ color: rgb(204, 216, 87);
/* oklch */ color: oklch(84.8% 0.152 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee38b',
    500: '#ccd857',
    950: '#000000',
  },
}
SCSS
$custom: #ccd857;
$custom-light: #dee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd857",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 65.581,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84836,
    "c": 0.15227,
    "h": 114.1
  },
  "luminance": 0.62637
}

Semantic roles & 50–950 ramp

primary
#CCD857
secondary
#443C98
accent
#42E552
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD857

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

Preview Lab → · Contrast checker → · Palette generator →

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