#F2CD5F

#f2cd5f ≈ Naples Yellow

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

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

Description generated from the measured properties of this color.

Conversions of #f2cd5f 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.6337

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #dfcfae ≈ 0.001% of males
Protanopia #e1ca53 ≈ 1.01% of males
Deuteranopia #ead564 ≈ 1.27% of males
Tritanopia #ffbeb5 ≈ 0.0001% of males
Protanomaly #e8cb58 ≈ 1.08% of males
Deuteranomaly #edd262 ≈ 4.63% of males
Tritanomaly #fdc49a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Naples Yellow
#f2cd5f  rgb(242, 205, 95)  hsl(45, 85%, 66%)  Naples Yellow
#5f84f2  rgb(95, 132, 242)  hsl(225, 85%, 66%)  Cornflower Blue
#5ff2cd  rgb(95, 242, 205)  hsl(165, 85%, 66%)  Aquamarine
#cd5ff2  rgb(205, 95, 242)  hsl(285, 85%, 66%)  Heliotrope