#CCD456#CCD456

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

Color values

HEX#CCD456
RGBrgb(204, 212, 86)
HSLhsl(64, 59%, 58%)
HSVhsv(64, 59%, 83%)
CMYKcmyk(3.8%, 0%, 59.4%, 16.9%)
CIE-LABlab(82.16, -19.14, 59.77)
CIE-LCHlch(82.16, 62.76, 107.76°)
OKLaboklab(83.96% -0.057 0.1372)
OKLCHoklch(83.96% 0.149 112.6)
XYZxyz(50.1263, 60.5972, 17.8582)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD456 #5E56D4
analogous
#D49D56 #CCD456 #8DD456
triadic
#CCD456 #56CCD4 #D456CC
tetradic
#CCD456 #56D49D #5E56D4 #D4568D
square
#CCD456 #56D49D #5E56D4 #D4568D
split-complementary
#CCD456 #568DD4 #9D56D4
monochromatic
#858C24 #B4BD30 #CCD456 #DBE087 #E9EDB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD456#FFFFFF#000000##000000
##CCD4561.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)
#E3CB47
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#D9C8B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd456;
/* rgb */ color: rgb(204, 212, 86);
/* oklch */ color: oklch(84.0% 0.149 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee18b',
    500: '#ccd456',
    950: '#000000',
  },
}
SCSS
$custom: #ccd456;
$custom-light: #dee18b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd456",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 63.81,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83961,
    "c": 0.1486,
    "h": 112.6
  },
  "luminance": 0.60596
}

Semantic roles & 50–950 ramp

primary
#CCD456
secondary
#423C92
accent
#45E34F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD456

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

Preview Lab → · Contrast checker → · Palette generator →

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