#F9DC4E

#f9dc4e ≈ Naples Yellow

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

#f9dc4e is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 97.65% red, 86.27% green and 30.59% blue; printed in CMYK it uses 0% cyan, 11.65% magenta, 68.67% yellow and 2.35% black. Its hue angle is 49.82°, with 93.44% saturation and 64.12% 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 15.38:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.1.

Description generated from the measured properties of this color.

Conversions of #f9dc4e 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.7188

Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e8dcb5 ≈ 0.001% of males
Protanopia #f1d73a ≈ 1.01% of males
Deuteranopia #f9e156 ≈ 1.27% of males
Tritanopia #ffccbf ≈ 0.0001% of males
Protanomaly #f4d943 ≈ 1.08% of males
Deuteranomaly #f9df53 ≈ 4.63% of males
Tritanomaly #ffd39e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f9dc4e {
  color: #f9dc4e;
}
Background
.bg-f9dc4e {
  background-color: #f9dc4e;
  color: #000000;
}
Border
.border-f9dc4e {
  border: 2px solid #f9dc4e;
}
CSS variables
:root {
  --color-primary: #f9dc4e;
  --color-primary-rgb: 249 220 78;
  --color-primary-hsl: 50 93% 64%;
}
Gradient
.gradient-f9dc4e {
  background: linear-gradient(135deg, #f9dc4e, #c1f94e);
}
Colored shadow
.shadow-f9dc4e {
  box-shadow: 0 8px 24px rgb(249 220 78 / 0.35);
}

Naples Yellow
#f9dc4e  rgb(249, 220, 78)  hsl(50, 93%, 64%)  Naples Yellow
#4e6bf9  rgb(78, 107, 249)  hsl(230, 93%, 64%)  Ultramarine Blue
#4ef9dc  rgb(78, 249, 220)  hsl(170, 93%, 64%)  Turquoise Blue
#dc4ef9  rgb(220, 78, 249)  hsl(290, 93%, 64%)  Fuchsia