#FEF300

#fef300 ≈ Cadmium Yellow

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

#fef300 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.29% green and 0% blue; printed in CMYK it uses 0% cyan, 4.33% magenta, 100% yellow and 0.39% black. Its hue angle is 57.4°, with 100% saturation and 49.8% 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.03:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 0.7.

Description generated from the measured properties of this color.

Conversions of #fef300 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.8517

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

Achromatopsia #eeeeee ≈ 0.003% of males
Achromatomaly #f4f0bd ≈ 0.001% of males
Protanopia #ffe900 ≈ 1.01% of males
Deuteranopia #fff12d ≈ 1.27% of males
Tritanopia #ffe1cf ≈ 0.0001% of males
Protanomaly #ffed00 ≈ 1.08% of males
Deuteranomaly #fff222 ≈ 4.63% of males
Tritanomaly #ffe9a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef300 {
  color: #fef300;
}
Background
.bg-fef300 {
  background-color: #fef300;
  color: #000000;
}
Border
.border-fef300 {
  border: 2px solid #fef300;
}
CSS variables
:root {
  --color-primary: #fef300;
  --color-primary-rgb: 254 243 0;
  --color-primary-hsl: 57 100% 50%;
}
Gradient
.gradient-fef300 {
  background: linear-gradient(135deg, #fef300, #8afe00);
}
Colored shadow
.shadow-fef300 {
  box-shadow: 0 8px 24px rgb(254 243 0 / 0.35);
}

Cadmium Yellow
#fef300  rgb(254, 243, 0)  hsl(57, 100%, 50%)  Cadmium Yellow
#000bfe  rgb(0, 11, 254)  hsl(237, 100%, 50%)  Blue
#00fef3  rgb(0, 254, 243)  hsl(177, 100%, 50%)  Turquoise Blue
#f300fe  rgb(243, 0, 254)  hsl(297, 100%, 50%)  Fuchsia