#ECC962

#ecc962 ≈ Naples Yellow

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

#ecc962 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 78.82% green and 38.43% blue; printed in CMYK it uses 0% cyan, 14.83% magenta, 58.47% yellow and 7.45% black. Its hue angle is 44.78°, with 78.41% 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 brand accents. Black text on this color reaches a contrast ratio of 13.1:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #ecc962 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.6049

Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #dacbac ≈ 0.001% of males
Protanopia #dcc658 ≈ 1.01% of males
Deuteranopia #e5d066 ≈ 1.27% of males
Tritanopia #fdbbb2 ≈ 0.0001% of males
Protanomaly #e3c75c ≈ 1.08% of males
Deuteranomaly #e8cd65 ≈ 4.63% of males
Tritanomaly #f7c198 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecc962 {
  color: #ecc962;
}
Background
.bg-ecc962 {
  background-color: #ecc962;
  color: #000000;
}
Border
.border-ecc962 {
  border: 2px solid #ecc962;
}
CSS variables
:root {
  --color-primary: #ecc962;
  --color-primary-rgb: 236 201 98;
  --color-primary-hsl: 45 78% 65%;
}
Gradient
.gradient-ecc962 {
  background: linear-gradient(135deg, #ecc962, #caec62);
}
Colored shadow
.shadow-ecc962 {
  box-shadow: 0 8px 24px rgb(236 201 98 / 0.35);
}

Naples Yellow
#ecc962  rgb(236, 201, 98)  hsl(45, 78%, 65%)  Naples Yellow
#6285ec  rgb(98, 133, 236)  hsl(225, 78%, 65%)  Cornflower Blue
#62ecc9  rgb(98, 236, 201)  hsl(165, 78%, 65%)  Aquamarine
#c962ec  rgb(201, 98, 236)  hsl(285, 78%, 65%)  Medium Orchid