#CCD057#CCD057

#CCD057 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.143 H 110.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CCD057
RGBrgb(204, 208, 87)
HSLhsl(62, 56%, 58%)
HSVhsv(62, 58%, 82%)
CMYKcmyk(1.9%, 0%, 58.2%, 18.4%)
CIE-LABlab(81.09, -17.10, 58.16)
CIE-LCHlch(81.09, 60.62, 106.38°)
OKLaboklab(83.11% -0.0512 0.1339)
OKLCHoklch(83.11% 0.143 110.9)
XYZxyz(49.1793, 58.6384, 17.7427)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD057 #5B57D0
analogous
#D09757 #CCD057 #90D057
triadic
#CCD057 #57CCD0 #D057CC
tetradic
#CCD057 #57D097 #5B57D0 #D05790
square
#CCD057 #57D097 #5B57D0 #D05790
split-complementary
#CCD057 #5790D0 #9757D0
monochromatic
#848726 #B2B733 #CCD057 #DBDD87 #E9EBB7

Accessibility & contrast

On white

1.65
#CCD057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CCD057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD057
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD057#FFFFFF#000000##000000
##CCD0571.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84A
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#D9C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd057;
/* rgb */ color: rgb(204, 208, 87);
/* oklch */ color: oklch(83.1% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede8b',
    500: '#ccd057',
    950: '#000000',
  },
}
SCSS
$custom: #ccd057;
$custom-light: #dede8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd057",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 61.983,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83109,
    "c": 0.14336,
    "h": 110.9
  },
  "luminance": 0.58637
}

Semantic roles & 50–950 ramp

primary
#CCD057
secondary
#403E8E
accent
#48E04D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD057

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

Preview Lab → · Contrast checker → · Palette generator →

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