#F2DF5C

#f2df5c ≈ Naples Yellow

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

#f2df5c is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 87.45% green and 36.08% blue; printed in CMYK it uses 0% cyan, 7.85% magenta, 61.98% yellow and 5.1% black. Its hue angle is 52.4°, with 85.23% saturation and 65.49% 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.49:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #f2df5c 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.7243

Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #e6deb8 ≈ 0.001% of males
Protanopia #f2d94d ≈ 1.01% of males
Deuteranopia #f8e163 ≈ 1.27% of males
Tritanopia #ffd0c3 ≈ 0.0001% of males
Protanomaly #f2db53 ≈ 1.08% of males
Deuteranomaly #f5e060 ≈ 4.63% of males
Tritanomaly #fdd6a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2df5c {
  color: #f2df5c;
}
Background
.bg-f2df5c {
  background-color: #f2df5c;
  color: #000000;
}
Border
.border-f2df5c {
  border: 2px solid #f2df5c;
}
CSS variables
:root {
  --color-primary: #f2df5c;
  --color-primary-rgb: 242 223 92;
  --color-primary-hsl: 52 85% 65%;
}
Gradient
.gradient-f2df5c {
  background: linear-gradient(135deg, #f2df5c, #baf25c);
}
Colored shadow
.shadow-f2df5c {
  box-shadow: 0 8px 24px rgb(242 223 92 / 0.35);
}

Naples Yellow
#f2df5c  rgb(242, 223, 92)  hsl(52, 85%, 65%)  Naples Yellow
#5c6ff2  rgb(92, 111, 242)  hsl(232, 85%, 65%)  Ultramarine Blue
#5cf2df  rgb(92, 242, 223)  hsl(172, 85%, 65%)  Turquoise Blue
#df5cf2  rgb(223, 92, 242)  hsl(292, 85%, 65%)  Heliotrope