#F2D161

#f2d161 ≈ Naples Yellow

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

#f2d161 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 81.96% green and 38.04% blue; printed in CMYK it uses 0% cyan, 13.64% magenta, 59.92% yellow and 5.1% black. Its hue angle is 46.34°, with 84.8% saturation and 66.47% 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.07:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.47.

Description generated from the measured properties of this color.

Conversions of #f2d161 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.6534

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #e0d2b1 ≈ 0.001% of males
Protanopia #e5ce55 ≈ 1.01% of males
Deuteranopia #edd866 ≈ 1.27% of males
Tritanopia #ffc2b8 ≈ 0.0001% of males
Protanomaly #eacf5a ≈ 1.08% of males
Deuteranomaly #efd564 ≈ 4.63% of males
Tritanomaly #fdc89d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2d161 {
  color: #f2d161;
}
Background
.bg-f2d161 {
  background-color: #f2d161;
  color: #000000;
}
Border
.border-f2d161 {
  border: 2px solid #f2d161;
}
CSS variables
:root {
  --color-primary: #f2d161;
  --color-primary-rgb: 242 209 97;
  --color-primary-hsl: 46 85% 66%;
}
Gradient
.gradient-f2d161 {
  background: linear-gradient(135deg, #f2d161, #cbf261);
}
Colored shadow
.shadow-f2d161 {
  box-shadow: 0 8px 24px rgb(242 209 97 / 0.35);
}

Naples Yellow
#f2d161  rgb(242, 209, 97)  hsl(46, 85%, 66%)  Naples Yellow
#6182f2  rgb(97, 130, 242)  hsl(226, 85%, 66%)  Cornflower Blue
#61f2d1  rgb(97, 242, 209)  hsl(166, 85%, 66%)  Aquamarine
#d161f2  rgb(209, 97, 242)  hsl(286, 85%, 66%)  Heliotrope