#F4F021

#f4f021 ≈ Cadmium Yellow

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

#f4f021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 94.12% green and 12.94% blue; printed in CMYK it uses 0% cyan, 1.64% magenta, 86.48% yellow and 4.31% black. Its hue angle is 58.86°, with 90.56% saturation and 54.31% 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 17.33:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 2.15.

Description generated from the measured properties of this color.

Conversions of #f4f021 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.8166

Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #eeecbb ≈ 0.001% of males
Protanopia #ffe600 ≈ 1.01% of males
Deuteranopia #ffec39 ≈ 1.27% of males
Tritanopia #ffe0cd ≈ 0.0001% of males
Protanomaly #feea00 ≈ 1.08% of males
Deuteranomaly #ffee31 ≈ 4.63% of males
Tritanomaly #ffe6a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f4f021 {
  color: #f4f021;
}
Background
.bg-f4f021 {
  background-color: #f4f021;
  color: #000000;
}
Border
.border-f4f021 {
  border: 2px solid #f4f021;
}
CSS variables
:root {
  --color-primary: #f4f021;
  --color-primary-rgb: 244 240 33;
  --color-primary-hsl: 59 91% 54%;
}
Gradient
.gradient-f4f021 {
  background: linear-gradient(135deg, #f4f021, #8ef421);
}
Colored shadow
.shadow-f4f021 {
  box-shadow: 0 8px 24px rgb(244 240 33 / 0.35);
}

Cadmium Yellow
#f4f021  rgb(244, 240, 33)  hsl(59, 91%, 54%)  Cadmium Yellow
#2125f4  rgb(33, 37, 244)  hsl(239, 91%, 54%)  Blue
#21f4f0  rgb(33, 244, 240)  hsl(179, 91%, 54%)  Aqua
#f021f4  rgb(240, 33, 244)  hsl(299, 91%, 54%)  Fuchsia