#CCD457#CCD457

#CCD457 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.0% C 0.148 H 112.6°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#CCD457
RGBrgb(204, 212, 87)
HSLhsl(64, 59%, 59%)
HSVhsv(64, 59%, 83%)
CMYKcmyk(3.8%, 0%, 59%, 16.9%)
CIE-LABlab(82.17, -19.07, 59.35)
CIE-LCHlch(82.17, 62.34, 107.82°)
OKLaboklab(83.97% -0.0567 0.1364)
OKLCHoklch(83.97% 0.148 112.6)
XYZxyz(50.1669, 60.6135, 18.0718)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD457 #5F57D4
analogous
#D49D57 #CCD457 #8DD457
triadic
#CCD457 #57CCD4 #D457CC
tetradic
#CCD457 #57D49D #5F57D4 #D4578D
square
#CCD457 #57D49D #5F57D4 #D4578D
split-complementary
#CCD457 #578DD4 #9D57D4
monochromatic
#868D24 #B4BD30 #CCD457 #DBE088 #EAEDB8

Accessibility & contrast

On white

1.60
#CCD457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#CCD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD457
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD457#FFFFFF#000000##000000
##CCD4571.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E3CE5F
Tritanopia (blue-blind)
#D9C8B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd457;
/* rgb */ color: rgb(204, 212, 87);
/* oklch */ color: oklch(84.0% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee18b',
    500: '#ccd457',
    950: '#000000',
  },
}
SCSS
$custom: #ccd457;
$custom-light: #dee18b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd457",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 63.84,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83971,
    "c": 0.14778,
    "h": 112.6
  },
  "luminance": 0.60612
}

Semantic roles & 50–950 ramp

primary
#CCD457
secondary
#423D93
accent
#45E24F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD457

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

Preview Lab → · Contrast checker → · Palette generator →

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