#FFC021

#ffc021 ≈ Amber

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

#ffc021 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 12.94% blue; printed in CMYK it uses 0% cyan, 24.71% magenta, 87.06% yellow and 0% black. Its hue angle is 42.97°, with 100% saturation and 56.47% 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.81:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.

Description generated from the measured properties of this color.

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

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #e1c6a2 ≈ 0.001% of males
Protanopia #dac100 ≈ 1.01% of males
Deuteranopia #e9d12c ≈ 1.27% of males
Tritanopia #ffaca5 ≈ 0.0001% of males
Protanomaly #eac000 ≈ 1.08% of males
Deuteranomaly #f2ca28 ≈ 4.63% of males
Tritanomaly #ffb584 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffc021 {
  color: #ffc021;
}
Background
.bg-ffc021 {
  background-color: #ffc021;
  color: #000000;
}
Border
.border-ffc021 {
  border: 2px solid #ffc021;
}
CSS variables
:root {
  --color-primary: #ffc021;
  --color-primary-rgb: 255 192 33;
  --color-primary-hsl: 43 100% 56%;
}
Gradient
.gradient-ffc021 {
  background: linear-gradient(135deg, #ffc021, #cfff21);
}
Colored shadow
.shadow-ffc021 {
  box-shadow: 0 8px 24px rgb(255 192 33 / 0.35);
}

Amber
#ffc021  rgb(255, 192, 33)  hsl(43, 100%, 56%)  Amber
#2160ff  rgb(33, 96, 255)  hsl(223, 100%, 56%)  Ultramarine Blue
#21ffc0  rgb(33, 255, 192)  hsl(163, 100%, 56%)  Aquamarine
#c021ff  rgb(192, 33, 255)  hsl(283, 100%, 56%)  Electric Purple