#F8D166

#f8d166 ≈ Naples Yellow

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#f8d166 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 97.25% red, 81.96% green and 40% blue; printed in CMYK it uses 0% cyan, 15.73% magenta, 58.87% yellow and 2.75% black. Its hue angle is 43.97°, with 91.25% saturation and 68.63% 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.3:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 3.55.

Description generated from the measured properties of this color.

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

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #e4d3b3 ≈ 0.001% of males
Protanopia #e5cf5b ≈ 1.01% of males
Deuteranopia #efda6a ≈ 1.27% of males
Tritanopia #ffc2b9 ≈ 0.0001% of males
Protanomaly #edd060 ≈ 1.08% of males
Deuteranomaly #f3d669 ≈ 4.63% of males
Tritanomaly #ffc89f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8d166 {
  color: #f8d166;
}
Background
.bg-f8d166 {
  background-color: #f8d166;
  color: #000000;
}
Border
.border-f8d166 {
  border: 2px solid #f8d166;
}
CSS variables
:root {
  --color-primary: #f8d166;
  --color-primary-rgb: 248 209 102;
  --color-primary-hsl: 44 91% 69%;
}
Gradient
.gradient-f8d166 {
  background: linear-gradient(135deg, #f8d166, #d6f866);
}
Colored shadow
.shadow-f8d166 {
  box-shadow: 0 8px 24px rgb(248 209 102 / 0.35);
}

Naples Yellow
#f8d166  rgb(248, 209, 102)  hsl(44, 91%, 69%)  Naples Yellow
#668df8  rgb(102, 141, 248)  hsl(224, 91%, 69%)  Cornflower Blue
#66f8d1  rgb(102, 248, 209)  hsl(164, 91%, 69%)  Aquamarine
#d166f8  rgb(209, 102, 248)  hsl(284, 91%, 69%)  Heliotrope