#CCD757#CCD757

#CCD757 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.151 H 113.8°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#CCD757
RGBrgb(204, 215, 87)
HSLhsl(65, 62%, 59%)
HSVhsv(65, 60%, 84%)
CMYKcmyk(5.1%, 0%, 59.5%, 15.7%)
CIE-LABlab(82.98, -20.54, 60.24)
CIE-LCHlch(82.98, 63.64, 108.83°)
OKLaboklab(84.62% -0.0609 0.1383)
OKLCHoklch(84.62% 0.151 113.8)
XYZxyz(50.9238, 62.1273, 18.3241)
Luminance0.6213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD757 #6257D7
analogous
#D7A257 #CCD757 #8CD757
triadic
#CCD757 #57CCD7 #D757CC
tetradic
#CCD757 #57D7A2 #6257D7 #D7578C
square
#CCD757 #57D7A2 #6257D7 #D7578C
split-complementary
#CCD757 #578CD7 #A257D7
monochromatic
#889123 #B6C22E #CCD757 #DBE388 #EAEFBA

Accessibility & contrast

On white

1.56
#CCD757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#CCD757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD757
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD757#FFFFFF#000000##000000
##CCD7571.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD48
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#D8CBBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd757;
/* rgb */ color: rgb(204, 215, 87);
/* oklch */ color: oklch(84.6% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#dee38b',
    500: '#ccd757',
    950: '#000000',
  },
}
SCSS
$custom: #ccd757;
$custom-light: #dee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd757",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 65.156,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84619,
    "c": 0.15114,
    "h": 113.8
  },
  "luminance": 0.62126
}

Semantic roles & 50–950 ramp

primary
#CCD757
secondary
#443C96
accent
#43E551
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD757

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

Preview Lab → · Contrast checker → · Palette generator →

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