#E2CA51

#e2ca51 ≈ Naples Yellow

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

#e2ca51 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 79.22% green and 31.76% blue; printed in CMYK it uses 0% cyan, 10.62% magenta, 64.16% yellow and 11.37% black. Its hue angle is 50.07°, with 71.43% saturation and 60.2% 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 12.8:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #e2ca51 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.59

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d4caa7 ≈ 0.001% of males
Protanopia #ddc542 ≈ 1.01% of males
Deuteranopia #e3ce57 ≈ 1.27% of males
Tritanopia #f3bcb1 ≈ 0.0001% of males
Protanomaly #dfc749 ≈ 1.08% of males
Deuteranomaly #e3cc55 ≈ 4.63% of males
Tritanomaly #ecc294 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2ca51 {
  color: #e2ca51;
}
Background
.bg-e2ca51 {
  background-color: #e2ca51;
  color: #000000;
}
Border
.border-e2ca51 {
  border: 2px solid #e2ca51;
}
CSS variables
:root {
  --color-primary: #e2ca51;
  --color-primary-rgb: 226 202 81;
  --color-primary-hsl: 50 71% 60%;
}
Gradient
.gradient-e2ca51 {
  background: linear-gradient(135deg, #e2ca51, #b2e251);
}
Colored shadow
.shadow-e2ca51 {
  box-shadow: 0 8px 24px rgb(226 202 81 / 0.35);
}

Naples Yellow
#e2ca51  rgb(226, 202, 81)  hsl(50, 71%, 60%)  Naples Yellow
#5169e2  rgb(81, 105, 226)  hsl(230, 71%, 60%)  Royal Blue
#51e2ca  rgb(81, 226, 202)  hsl(170, 71%, 60%)  Turquoise
#ca51e2  rgb(202, 81, 226)  hsl(290, 71%, 60%)  Medium Orchid