#FEF528

#fef528 ≈ Cadmium Yellow

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#fef528 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 96.08% green and 15.69% blue; printed in CMYK it uses 0% cyan, 3.54% magenta, 84.25% yellow and 0.39% black. Its hue angle is 57.48°, with 99.07% saturation and 57.65% 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 18.31:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 1.02.

Description generated from the measured properties of this color.

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

Readable text 1.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #f5f2c0 ≈ 0.001% of males
Protanopia #ffeb00 ≈ 1.01% of males
Deuteranopia #fff33e ≈ 1.27% of males
Tritanopia #ffe4d2 ≈ 0.0001% of males
Protanomaly #ffef00 ≈ 1.08% of males
Deuteranomaly #fff436 ≈ 4.63% of males
Tritanomaly #ffeba8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef528 {
  color: #fef528;
}
Background
.bg-fef528 {
  background-color: #fef528;
  color: #000000;
}
Border
.border-fef528 {
  border: 2px solid #fef528;
}
CSS variables
:root {
  --color-primary: #fef528;
  --color-primary-rgb: 254 245 40;
  --color-primary-hsl: 57 99% 58%;
}
Gradient
.gradient-fef528 {
  background: linear-gradient(135deg, #fef528, #9cfe28);
}
Colored shadow
.shadow-fef528 {
  box-shadow: 0 8px 24px rgb(254 245 40 / 0.35);
}

Cadmium Yellow
#fef528  rgb(254, 245, 40)  hsl(57, 99%, 58%)  Cadmium Yellow
#2831fe  rgb(40, 49, 254)  hsl(237, 99%, 58%)  Han Purple
#28fef5  rgb(40, 254, 245)  hsl(177, 99%, 58%)  Turquoise Blue
#f528fe  rgb(245, 40, 254)  hsl(297, 99%, 58%)  Fuchsia