#FEFC02

#fefc02 ≈ Yellow

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

#fefc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 98.82% green and 0.78% blue; printed in CMYK it uses 0% cyan, 0.79% magenta, 99.21% yellow and 0.39% black. Its hue angle is 59.52°, with 99.21% saturation and 50.2% 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 19.14:1 (WCAG AAA). The closest named color is Yellow (#ffff00), ΔE 0.67.

Description generated from the measured properties of this color.

Conversions of #fefc02 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.907

Readable text 1.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f7c3 ≈ 0.001% of males
Protanopia #fff100 ≈ 1.01% of males
Deuteranopia #fff731 ≈ 1.27% of males
Tritanopia #ffebd7 ≈ 0.0001% of males
Protanomaly #fff500 ≈ 1.08% of males
Deuteranomaly #fff925 ≈ 4.63% of males
Tritanomaly #fff2ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Yellow
#fefc02  rgb(254, 252, 2)  hsl(60, 99%, 50%)  Yellow
#0204fe  rgb(2, 4, 254)  hsl(240, 99%, 50%)  Blue
#02fefc  rgb(2, 254, 252)  hsl(180, 99%, 50%)  Aqua
#fc02fe  rgb(252, 2, 254)  hsl(300, 99%, 50%)  Fuchsia