#CCD021

#ccd021 ≈ Pear

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ccd021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 81.57% green and 12.94% blue; printed in CMYK it uses 1.92% cyan, 0% magenta, 84.13% yellow and 18.43% black. Its hue angle is 61.37°, with 72.61% saturation and 47.25% 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 brand accents. Black text on this color reaches a contrast ratio of 12.61:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.58.

Description generated from the measured properties of this color.

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

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cacca1 ≈ 0.001% of males
Protanopia #e1c600 ≈ 1.01% of males
Deuteranopia #e2cb34 ≈ 1.27% of males
Tritanopia #dbc2b2 ≈ 0.0001% of males
Protanomaly #d9ca00 ≈ 1.08% of males
Deuteranomaly #dacd2e ≈ 4.63% of males
Tritanomaly #d5c88e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccd021 {
  color: #ccd021;
}
Background
.bg-ccd021 {
  background-color: #ccd021;
  color: #000000;
}
Border
.border-ccd021 {
  border: 2px solid #ccd021;
}
CSS variables
:root {
  --color-primary: #ccd021;
  --color-primary-rgb: 204 208 33;
  --color-primary-hsl: 61 73% 47%;
}
Gradient
.gradient-ccd021 {
  background: linear-gradient(135deg, #ccd021, #74d021);
}
Colored shadow
.shadow-ccd021 {
  box-shadow: 0 8px 24px rgb(204 208 33 / 0.35);
}

Pear
#ccd021  rgb(204, 208, 33)  hsl(61, 73%, 47%)  Pear
#2521d0  rgb(37, 33, 208)  hsl(241, 73%, 47%)  Medium Blue
#21ccd0  rgb(33, 204, 208)  hsl(181, 73%, 47%)  Dark Turquoise
#d021cc  rgb(208, 33, 204)  hsl(301, 73%, 47%)  Medium Orchid