#CCD712

#ccd712 ≈ Pear

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

#ccd712 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 84.31% green and 7.06% blue; printed in CMYK it uses 5.12% cyan, 0% magenta, 91.63% yellow and 15.69% black. Its hue angle is 63.35°, with 84.55% saturation and 45.69% 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.3:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #ccd712 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.6148

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #cdd1a4 ≈ 0.001% of males
Protanopia #e8cc00 ≈ 1.01% of males
Deuteranopia #e8cf2f ≈ 1.27% of males
Tritanopia #dbc9b7 ≈ 0.0001% of males
Protanomaly #ddd100 ≈ 1.08% of males
Deuteranomaly #ddd226 ≈ 4.63% of males
Tritanomaly #d5cf92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pear
#ccd712  rgb(204, 215, 18)  hsl(63, 85%, 46%)  Pear
#1d12d7  rgb(29, 18, 215)  hsl(243, 85%, 46%)  Medium Blue
#12ccd7  rgb(18, 204, 215)  hsl(183, 85%, 46%)  Dark Turquoise
#d712cc  rgb(215, 18, 204)  hsl(303, 85%, 46%)  Medium Orchid