#ECD54F

#ecd54f ≈ Naples Yellow

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ecd54f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 83.53% green and 30.98% blue; printed in CMYK it uses 0% cyan, 9.75% magenta, 66.53% yellow and 7.45% black. Its hue angle is 51.21°, with 80.51% saturation and 61.76% 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.2:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 3.06.

Description generated from the measured properties of this color.

Conversions of #ecd54f 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.6599

Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #ded5af ≈ 0.001% of males
Protanopia #e9cf3d ≈ 1.01% of males
Deuteranopia #efd857 ≈ 1.27% of males
Tritanopia #fec6b9 ≈ 0.0001% of males
Protanomaly #ead245 ≈ 1.08% of males
Deuteranomaly #eed754 ≈ 4.63% of males
Tritanomaly #f7cc9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecd54f {
  color: #ecd54f;
}
Background
.bg-ecd54f {
  background-color: #ecd54f;
  color: #000000;
}
Border
.border-ecd54f {
  border: 2px solid #ecd54f;
}
CSS variables
:root {
  --color-primary: #ecd54f;
  --color-primary-rgb: 236 213 79;
  --color-primary-hsl: 51 81% 62%;
}
Gradient
.gradient-ecd54f {
  background: linear-gradient(135deg, #ecd54f, #b4ec4f);
}
Colored shadow
.shadow-ecd54f {
  box-shadow: 0 8px 24px rgb(236 213 79 / 0.35);
}

Naples Yellow
#ecd54f  rgb(236, 213, 79)  hsl(51, 81%, 62%)  Naples Yellow
#4f66ec  rgb(79, 102, 236)  hsl(231, 81%, 62%)  Ultramarine Blue
#4fecd5  rgb(79, 236, 213)  hsl(171, 81%, 62%)  Turquoise
#d54fec  rgb(213, 79, 236)  hsl(291, 81%, 62%)  Medium Orchid