#CFDF0F

#cfdf0f ≈ Pear

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

#cfdf0f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 87.45% green and 5.88% blue; printed in CMYK it uses 7.17% cyan, 0% magenta, 93.27% yellow and 12.55% black. Its hue angle is 64.62°, with 87.39% 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 14.22:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.52.

Description generated from the measured properties of this color.

Conversions of #cfdf0f 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.6608

Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d2d9a9 ≈ 0.001% of males
Protanopia #f0d300 ≈ 1.01% of males
Deuteranopia #efd62f ≈ 1.27% of males
Tritanopia #ddd1be ≈ 0.0001% of males
Protanomaly #e4d800 ≈ 1.08% of males
Deuteranomaly #e3da26 ≈ 4.63% of males
Tritanomaly #d8d797 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfdf0f {
  color: #cfdf0f;
}
Background
.bg-cfdf0f {
  background-color: #cfdf0f;
  color: #000000;
}
Border
.border-cfdf0f {
  border: 2px solid #cfdf0f;
}
CSS variables
:root {
  --color-primary: #cfdf0f;
  --color-primary-rgb: 207 223 15;
  --color-primary-hsl: 65 87% 47%;
}
Gradient
.gradient-cfdf0f {
  background: linear-gradient(135deg, #cfdf0f, #67df0f);
}
Colored shadow
.shadow-cfdf0f {
  box-shadow: 0 8px 24px rgb(207 223 15 / 0.35);
}

Pear
#cfdf0f  rgb(207, 223, 15)  hsl(65, 87%, 47%)  Pear
#1f0fdf  rgb(31, 15, 223)  hsl(245, 87%, 47%)  Medium Blue
#0fcfdf  rgb(15, 207, 223)  hsl(185, 87%, 47%)  Dark Turquoise
#df0fcf  rgb(223, 15, 207)  hsl(305, 87%, 47%)  Shocking Pink