#FAB321

#fab321 ≈ Amber

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

#fab321 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.04% red, 70.2% green and 12.94% blue; printed in CMYK it uses 0% cyan, 28.4% magenta, 86.8% yellow and 1.96% black. Its hue angle is 40.37°, with 95.59% saturation and 55.49% 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 11.53:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 4.32.

Description generated from the measured properties of this color.

Conversions of #fab321 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.5267

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #dabb9a ≈ 0.001% of males
Protanopia #ceb600 ≈ 1.01% of males
Deuteranopia #dfc72a ≈ 1.27% of males
Tritanopia #ff9f99 ≈ 0.0001% of males
Protanomaly #e1b501 ≈ 1.08% of males
Deuteranomaly #eabf26 ≈ 4.63% of males
Tritanomaly #ffa77b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fab321 {
  color: #fab321;
}
Background
.bg-fab321 {
  background-color: #fab321;
  color: #000000;
}
Border
.border-fab321 {
  border: 2px solid #fab321;
}
CSS variables
:root {
  --color-primary: #fab321;
  --color-primary-rgb: 250 179 33;
  --color-primary-hsl: 40 96% 55%;
}
Gradient
.gradient-fab321 {
  background: linear-gradient(135deg, #fab321, #d4fa21);
}
Colored shadow
.shadow-fab321 {
  box-shadow: 0 8px 24px rgb(250 179 33 / 0.35);
}

Amber
#fab321  rgb(250, 179, 33)  hsl(40, 96%, 55%)  Amber
#2168fa  rgb(33, 104, 250)  hsl(220, 96%, 55%)  Ultramarine Blue
#21fab3  rgb(33, 250, 179)  hsl(160, 96%, 55%)  Medium Spring Green
#b321fa  rgb(179, 33, 250)  hsl(280, 96%, 55%)  Electric Purple