#FEC006

#fec006 ≈ Amber

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

#fec006 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 75.29% green and 2.35% blue; printed in CMYK it uses 0% cyan, 24.41% magenta, 97.64% yellow and 0.39% black. Its hue angle is 45°, with 99.2% saturation and 50.98% 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 12.76:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 0.51.

Description generated from the measured properties of this color.

Conversions of #fec006 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.5878

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #e0c6a0 ≈ 0.001% of males
Protanopia #dbc000 ≈ 1.01% of males
Deuteranopia #e9d01e ≈ 1.27% of males
Tritanopia #ffaca4 ≈ 0.0001% of males
Protanomaly #eac000 ≈ 1.08% of males
Deuteranomaly #f2ca17 ≈ 4.63% of males
Tritanomaly #ffb482 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Amber
#fec006  rgb(254, 192, 6)  hsl(45, 99%, 51%)  Amber
#0644fe  rgb(6, 68, 254)  hsl(225, 99%, 51%)  Majorelle Blue
#06fec0  rgb(6, 254, 192)  hsl(165, 99%, 51%)  Aquamarine
#c006fe  rgb(192, 6, 254)  hsl(285, 99%, 51%)  Electric Purple