#F2DD5F

#f2dd5f ≈ Naples Yellow

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

#f2dd5f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 86.67% green and 37.25% blue; printed in CMYK it uses 0% cyan, 8.68% magenta, 60.74% yellow and 5.1% black. Its hue angle is 51.43°, with 84.97% saturation and 66.08% 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.28:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 2.94.

Description generated from the measured properties of this color.

Conversions of #f2dd5f 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.7142

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

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e5dcb7 ≈ 0.001% of males
Protanopia #f0d751 ≈ 1.01% of males
Deuteranopia #f6df65 ≈ 1.27% of males
Tritanopia #ffcec2 ≈ 0.0001% of males
Protanomaly #f1da57 ≈ 1.08% of males
Deuteranomaly #f4de63 ≈ 4.63% of males
Tritanomaly #fdd4a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Naples Yellow
#f2dd5f  rgb(242, 221, 95)  hsl(51, 85%, 66%)  Naples Yellow
#5f74f2  rgb(95, 116, 242)  hsl(231, 85%, 66%)  Ultramarine Blue
#5ff2dd  rgb(95, 242, 221)  hsl(171, 85%, 66%)  Turquoise Blue
#dd5ff2  rgb(221, 95, 242)  hsl(291, 85%, 66%)  Heliotrope