#FEF406

#fef406 ≈ Cadmium Yellow

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

#fef406 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 95.69% green and 2.35% blue; printed in CMYK it uses 0% cyan, 3.94% magenta, 97.64% yellow and 0.39% black. Its hue angle is 57.58°, with 99.2% saturation and 50.98% 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.16:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 0.45.

Description generated from the measured properties of this color.

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

Readable text 1.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #eeeeee ≈ 0.003% of males
Achromatomaly #f5f1be ≈ 0.001% of males
Protanopia #ffea00 ≈ 1.01% of males
Deuteranopia #fff22f ≈ 1.27% of males
Tritanopia #ffe3d0 ≈ 0.0001% of males
Protanomaly #ffee00 ≈ 1.08% of males
Deuteranomaly #fff324 ≈ 4.63% of males
Tritanomaly #ffeaa6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Cadmium Yellow
#fef406  rgb(254, 244, 6)  hsl(58, 99%, 51%)  Cadmium Yellow
#0610fe  rgb(6, 16, 254)  hsl(238, 99%, 51%)  Blue
#06fef4  rgb(6, 254, 244)  hsl(178, 99%, 51%)  Turquoise Blue
#f406fe  rgb(244, 6, 254)  hsl(298, 99%, 51%)  Fuchsia