#FEF331

#fef331 ≈ Cadmium Yellow

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

#fef331 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 19.22% blue; printed in CMYK it uses 0% cyan, 4.33% magenta, 80.71% yellow and 0.39% black. Its hue angle is 56.78°, with 99.03% saturation and 59.41% 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.08:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 1.6.

Description generated from the measured properties of this color.

Conversions of #fef331 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.8539

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

Achromatopsia #eeeeee ≈ 0.003% of males
Achromatomaly #f4f0c0 ≈ 0.001% of males
Protanopia #ffea00 ≈ 1.01% of males
Deuteranopia #fff143 ≈ 1.27% of males
Tritanopia #ffe2d0 ≈ 0.0001% of males
Protanomaly #ffee0b ≈ 1.08% of males
Deuteranomaly #fff23d ≈ 4.63% of males
Tritanomaly #ffe9a8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Cadmium Yellow
#fef331  rgb(254, 243, 49)  hsl(57, 99%, 59%)  Cadmium Yellow
#313cfe  rgb(49, 60, 254)  hsl(237, 99%, 59%)  Han Purple
#31fef3  rgb(49, 254, 243)  hsl(177, 99%, 59%)  Turquoise Blue
#f331fe  rgb(243, 49, 254)  hsl(297, 99%, 59%)  Fuchsia