#CECF28

#cecf28 ≈ Pear

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

#cecf28 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 81.18% green and 15.69% blue; printed in CMYK it uses 0.48% cyan, 0% magenta, 80.68% yellow and 18.82% black. Its hue angle is 60.36°, with 67.61% saturation and 48.43% 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.58:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.06.

Description generated from the measured properties of this color.

Conversions of #cecf28 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.579

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

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cbcba1 ≈ 0.001% of males
Protanopia #e0c600 ≈ 1.01% of males
Deuteranopia #e2ca38 ≈ 1.27% of males
Tritanopia #ddc1b1 ≈ 0.0001% of males
Protanomaly #d9ca08 ≈ 1.08% of males
Deuteranomaly #dacc33 ≈ 4.63% of males
Tritanomaly #d7c78f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cecf28 {
  color: #cecf28;
}
Background
.bg-cecf28 {
  background-color: #cecf28;
  color: #000000;
}
Border
.border-cecf28 {
  border: 2px solid #cecf28;
}
CSS variables
:root {
  --color-primary: #cecf28;
  --color-primary-rgb: 206 207 40;
  --color-primary-hsl: 60 68% 48%;
}
Gradient
.gradient-cecf28 {
  background: linear-gradient(135deg, #cecf28, #7acf28);
}
Colored shadow
.shadow-cecf28 {
  box-shadow: 0 8px 24px rgb(206 207 40 / 0.35);
}

Pear
#cecf28  rgb(206, 207, 40)  hsl(60, 68%, 48%)  Pear
#2928cf  rgb(41, 40, 207)  hsl(240, 68%, 48%)  Persian Blue
#28cecf  rgb(40, 206, 207)  hsl(180, 68%, 48%)  Dark Turquoise
#cf28ce  rgb(207, 40, 206)  hsl(300, 68%, 48%)  Medium Orchid