#F2CD5A

#f2cd5a ≈ Naples Yellow

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

#f2cd5a 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 35.29% blue; printed in CMYK it uses 0% cyan, 15.29% magenta, 62.81% yellow and 5.1% black. Its hue angle is 45.39°, with 85.39% saturation and 65.1% 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.66:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #f2cd5a 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.6328

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

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #dfcfad ≈ 0.001% of males
Protanopia #e2ca4d ≈ 1.01% of males
Deuteranopia #ebd55f ≈ 1.27% of males
Tritanopia #ffbeb4 ≈ 0.0001% of males
Protanomaly #e8cb53 ≈ 1.08% of males
Deuteranomaly #eed25d ≈ 4.63% of males
Tritanomaly #fdc498 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Naples Yellow
#f2cd5a  rgb(242, 205, 90)  hsl(45, 85%, 65%)  Naples Yellow
#5a7ff2  rgb(90, 127, 242)  hsl(225, 85%, 65%)  Brandeis Blue
#5af2cd  rgb(90, 242, 205)  hsl(165, 85%, 65%)  Aquamarine
#cd5af2  rgb(205, 90, 242)  hsl(285, 85%, 65%)  Medium Orchid