#FFE302

#ffe302 ≈ Golden Yellow

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

#ffe302 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 89.02% green and 0.78% blue; printed in CMYK it uses 0% cyan, 10.98% magenta, 99.22% yellow and 0% black. Its hue angle is 53.36°, with 100% saturation and 50.39% 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 16.24:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 1.22.

Description generated from the measured properties of this color.

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

Readable text 1.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e2e2e2 ≈ 0.003% of males
Achromatomaly #eee3b4 ≈ 0.001% of males
Protanopia #fbdc00 ≈ 1.01% of males
Deuteranopia #ffe729 ≈ 1.27% of males
Tritanopia #ffd1c1 ≈ 0.0001% of males
Protanomaly #fcdf00 ≈ 1.08% of males
Deuteranomaly #ffe51e ≈ 4.63% of males
Tritanomaly #ffd89a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Golden Yellow
#ffe302  rgb(255, 227, 2)  hsl(53, 100%, 50%)  Golden Yellow
#021eff  rgb(2, 30, 255)  hsl(233, 100%, 50%)  Blue
#02ffe3  rgb(2, 255, 227)  hsl(173, 100%, 50%)  Turquoise Blue
#e302ff  rgb(227, 2, 255)  hsl(293, 100%, 50%)  Fuchsia