#CFDC12

#cfdc12 ≈ Pear

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

#cfdc12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 86.27% green and 7.06% blue; printed in CMYK it uses 5.91% cyan, 0% magenta, 91.82% yellow and 13.73% black. Its hue angle is 63.86°, with 84.87% saturation and 46.67% 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.9:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #cfdc12 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.645

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d1d6a8 ≈ 0.001% of males
Protanopia #edd100 ≈ 1.01% of males
Deuteranopia #edd430 ≈ 1.27% of males
Tritanopia #decebb ≈ 0.0001% of males
Protanomaly #e2d500 ≈ 1.08% of males
Deuteranomaly #e1d727 ≈ 4.63% of males
Tritanomaly #d8d495 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfdc12 {
  color: #cfdc12;
}
Background
.bg-cfdc12 {
  background-color: #cfdc12;
  color: #000000;
}
Border
.border-cfdc12 {
  border: 2px solid #cfdc12;
}
CSS variables
:root {
  --color-primary: #cfdc12;
  --color-primary-rgb: 207 220 18;
  --color-primary-hsl: 64 85% 47%;
}
Gradient
.gradient-cfdc12 {
  background: linear-gradient(135deg, #cfdc12, #6adc12);
}
Colored shadow
.shadow-cfdc12 {
  box-shadow: 0 8px 24px rgb(207 220 18 / 0.35);
}

Pear
#cfdc12  rgb(207, 220, 18)  hsl(64, 85%, 47%)  Pear
#1f12dc  rgb(31, 18, 220)  hsl(244, 85%, 47%)  Medium Blue
#12cfdc  rgb(18, 207, 220)  hsl(184, 85%, 47%)  Dark Turquoise
#dc12cf  rgb(220, 18, 207)  hsl(304, 85%, 47%)  Medium Orchid