#CCCF31

#cccf31 ≈ Pear

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

#cccf31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 81.18% green and 19.22% blue; printed in CMYK it uses 1.45% cyan, 0% magenta, 76.33% yellow and 18.82% black. Its hue angle is 61.14°, with 62.2% saturation and 50.2% 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.54:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.85.

Description generated from the measured properties of this color.

Conversions of #cccf31 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.5768

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cacba1 ≈ 0.001% of males
Protanopia #e0c600 ≈ 1.01% of males
Deuteranopia #e1ca3f ≈ 1.27% of males
Tritanopia #dbc2b2 ≈ 0.0001% of males
Protanomaly #d8c91d ≈ 1.08% of males
Deuteranomaly #d9cc3a ≈ 4.63% of males
Tritanomaly #d5c790 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cccf31 {
  color: #cccf31;
}
Background
.bg-cccf31 {
  background-color: #cccf31;
  color: #000000;
}
Border
.border-cccf31 {
  border: 2px solid #cccf31;
}
CSS variables
:root {
  --color-primary: #cccf31;
  --color-primary-rgb: 204 207 49;
  --color-primary-hsl: 61 62% 50%;
}
Gradient
.gradient-cccf31 {
  background: linear-gradient(135deg, #cccf31, #7dcf31);
}
Colored shadow
.shadow-cccf31 {
  box-shadow: 0 8px 24px rgb(204 207 49 / 0.35);
}

Pear
#cccf31  rgb(204, 207, 49)  hsl(61, 62%, 50%)  Pear
#3431cf  rgb(52, 49, 207)  hsl(241, 62%, 50%)  Persian Blue
#31cccf  rgb(49, 204, 207)  hsl(181, 62%, 50%)  Dark Turquoise
#cf31cc  rgb(207, 49, 204)  hsl(301, 62%, 50%)  Medium Orchid