#FFC004

#ffc004 ≈ Amber

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

#ffc004 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 75.29% green and 1.57% blue; printed in CMYK it uses 0% cyan, 24.71% magenta, 98.43% yellow and 0% black. Its hue angle is 44.94°, with 100% saturation and 50.78% 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.79:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 0.32.

Description generated from the measured properties of this color.

Conversions of #ffc004 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.5897

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #e1c6a1 ≈ 0.001% of males
Protanopia #dbc000 ≈ 1.01% of males
Deuteranopia #ead11d ≈ 1.27% of males
Tritanopia #ffaca4 ≈ 0.0001% of males
Protanomaly #eac000 ≈ 1.08% of males
Deuteranomaly #f3ca15 ≈ 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-ffc004 {
  color: #ffc004;
}
Background
.bg-ffc004 {
  background-color: #ffc004;
  color: #000000;
}
Border
.border-ffc004 {
  border: 2px solid #ffc004;
}
CSS variables
:root {
  --color-primary: #ffc004;
  --color-primary-rgb: 255 192 4;
  --color-primary-hsl: 45 100% 51%;
}
Gradient
.gradient-ffc004 {
  background: linear-gradient(135deg, #ffc004, #c0ff04);
}
Colored shadow
.shadow-ffc004 {
  box-shadow: 0 8px 24px rgb(255 192 4 / 0.35);
}

Amber
#ffc004  rgb(255, 192, 4)  hsl(45, 100%, 51%)  Amber
#0443ff  rgb(4, 67, 255)  hsl(225, 100%, 51%)  Majorelle Blue
#04ffc0  rgb(4, 255, 192)  hsl(165, 100%, 51%)  Aquamarine
#c004ff  rgb(192, 4, 255)  hsl(285, 100%, 51%)  Electric Purple