#FEFC2D

#fefc2d ≈ Daffodil

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

#fefc2d 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 17.65% blue; printed in CMYK it uses 0% cyan, 0.79% magenta, 82.28% yellow and 0.39% black. Its hue angle is 59.43°, with 99.05% saturation and 58.63% 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.18:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 0.68.

Description generated from the measured properties of this color.

Conversions of #fefc2d 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.9088

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f8c5 ≈ 0.001% of males
Protanopia #fff100 ≈ 1.01% of males
Deuteranopia #fff743 ≈ 1.27% of males
Tritanopia #ffebd8 ≈ 0.0001% of males
Protanomaly #fff600 ≈ 1.08% of males
Deuteranomaly #fff93b ≈ 4.63% of males
Tritanomaly #fff2ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Daffodil
#fefc2d  rgb(254, 252, 45)  hsl(59, 99%, 59%)  Daffodil
#2d2ffe  rgb(45, 47, 254)  hsl(239, 99%, 59%)  Han Purple
#2dfefc  rgb(45, 254, 252)  hsl(179, 99%, 59%)  Aqua
#fc2dfe  rgb(252, 45, 254)  hsl(299, 99%, 59%)  Fuchsia