#F8D751

#f8d751 ≈ Naples Yellow

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

#f8d751 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 97.25% red, 84.31% green and 31.76% blue; printed in CMYK it uses 0% cyan, 13.31% magenta, 67.34% yellow and 2.75% black. Its hue angle is 48.14°, with 92.27% saturation and 64.51% 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.83:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 1.27.

Description generated from the measured properties of this color.

Conversions of #f8d751 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.6915

Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d9d9d9 ≈ 0.003% of males
Achromatomaly #e6d8b2 ≈ 0.001% of males
Protanopia #ecd33f ≈ 1.01% of males
Deuteranopia #f5dd58 ≈ 1.27% of males
Tritanopia #ffc7bb ≈ 0.0001% of males
Protanomaly #f1d447 ≈ 1.08% of males
Deuteranomaly #f6db55 ≈ 4.63% of males
Tritanomaly #ffce9c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8d751 {
  color: #f8d751;
}
Background
.bg-f8d751 {
  background-color: #f8d751;
  color: #000000;
}
Border
.border-f8d751 {
  border: 2px solid #f8d751;
}
CSS variables
:root {
  --color-primary: #f8d751;
  --color-primary-rgb: 248 215 81;
  --color-primary-hsl: 48 92% 65%;
}
Gradient
.gradient-f8d751 {
  background: linear-gradient(135deg, #f8d751, #c6f851);
}
Colored shadow
.shadow-f8d751 {
  box-shadow: 0 8px 24px rgb(248 215 81 / 0.35);
}

Naples Yellow
#f8d751  rgb(248, 215, 81)  hsl(48, 92%, 65%)  Naples Yellow
#5172f8  rgb(81, 114, 248)  hsl(228, 92%, 65%)  Ultramarine Blue
#51f8d7  rgb(81, 248, 215)  hsl(168, 92%, 65%)  Aquamarine
#d751f8  rgb(215, 81, 248)  hsl(288, 92%, 65%)  Fuchsia