#FFE021

#ffe021 ≈ Golden Yellow

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

#ffe021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 87.84% green and 12.94% blue; printed in CMYK it uses 0% cyan, 12.16% magenta, 87.06% yellow and 0% black. Its hue angle is 51.62°, with 100% saturation and 56.47% 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 15.94:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 0.8.

Description generated from the measured properties of this color.

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

Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e0e0e0 ≈ 0.003% of males
Achromatomaly #ede0b4 ≈ 0.001% of males
Protanopia #f7da00 ≈ 1.01% of males
Deuteranopia #ffe534 ≈ 1.27% of males
Tritanopia #ffcec0 ≈ 0.0001% of males
Protanomaly #fadd00 ≈ 1.08% of males
Deuteranomaly #ffe32e ≈ 4.63% of males
Tritanomaly #ffd59a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffe021 {
  color: #ffe021;
}
Background
.bg-ffe021 {
  background-color: #ffe021;
  color: #000000;
}
Border
.border-ffe021 {
  border: 2px solid #ffe021;
}
CSS variables
:root {
  --color-primary: #ffe021;
  --color-primary-rgb: 255 224 33;
  --color-primary-hsl: 52 100% 56%;
}
Gradient
.gradient-ffe021 {
  background: linear-gradient(135deg, #ffe021, #afff21);
}
Colored shadow
.shadow-ffe021 {
  box-shadow: 0 8px 24px rgb(255 224 33 / 0.35);
}

Golden Yellow
#ffe021  rgb(255, 224, 33)  hsl(52, 100%, 56%)  Golden Yellow
#2140ff  rgb(33, 64, 255)  hsl(232, 100%, 56%)  Majorelle Blue
#21ffe0  rgb(33, 255, 224)  hsl(172, 100%, 56%)  Turquoise Blue
#e021ff  rgb(224, 33, 255)  hsl(292, 100%, 56%)  Fuchsia