#CCD512

#ccd512 ≈ Pear

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ccd512 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 83.53% green and 7.06% blue; printed in CMYK it uses 4.23% cyan, 0% magenta, 91.55% yellow and 16.47% black. Its hue angle is 62.77°, with 84.42% saturation and 45.29% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and call-to-action buttons. Black text on this color reaches a contrast ratio of 13.09:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.35.

Description generated from the measured properties of this color.

Conversions of #ccd512 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6047

Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #ccd0a3 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #e6ce2e ≈ 1.27% of males
Tritanopia #dbc7b5 ≈ 0.0001% of males
Protanomaly #dccf00 ≈ 1.08% of males
Deuteranomaly #dcd125 ≈ 4.63% of males
Tritanomaly #d5cd91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccd512 {
  color: #ccd512;
}
Background
.bg-ccd512 {
  background-color: #ccd512;
  color: #000000;
}
Border
.border-ccd512 {
  border: 2px solid #ccd512;
}
CSS variables
:root {
  --color-primary: #ccd512;
  --color-primary-rgb: 204 213 18;
  --color-primary-hsl: 63 84% 45%;
}
Gradient
.gradient-ccd512 {
  background: linear-gradient(135deg, #ccd512, #6ad512);
}
Colored shadow
.shadow-ccd512 {
  box-shadow: 0 8px 24px rgb(204 213 18 / 0.35);
}

Pear
#ccd512  rgb(204, 213, 18)  hsl(63, 84%, 45%)  Pear
#1b12d5  rgb(27, 18, 213)  hsl(243, 84%, 45%)  Medium Blue
#12ccd5  rgb(18, 204, 213)  hsl(183, 84%, 45%)  Dark Turquoise
#d512cc  rgb(213, 18, 204)  hsl(303, 84%, 45%)  Medium Orchid