#F5B520

#f5b520 ≈ Amber

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

#f5b520 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 26.12% magenta, 86.94% yellow and 3.92% black. Its hue angle is 41.97°, with 91.42% saturation and 54.31% 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.51:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.18.

Description generated from the measured properties of this color.

Conversions of #f5b520 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.5256

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

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #d7bc9a ≈ 0.001% of males
Protanopia #cfb600 ≈ 1.01% of males
Deuteranopia #dec62a ≈ 1.27% of males
Tritanopia #ffa29b ≈ 0.0001% of males
Protanomaly #dfb600 ≈ 1.08% of males
Deuteranomaly #e8c026 ≈ 4.63% of males
Tritanomaly #ffaa7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5b520 {
  color: #f5b520;
}
Background
.bg-f5b520 {
  background-color: #f5b520;
  color: #000000;
}
Border
.border-f5b520 {
  border: 2px solid #f5b520;
}
CSS variables
:root {
  --color-primary: #f5b520;
  --color-primary-rgb: 245 181 32;
  --color-primary-hsl: 42 91% 54%;
}
Gradient
.gradient-f5b520 {
  background: linear-gradient(135deg, #f5b520, #cbf520);
}
Colored shadow
.shadow-f5b520 {
  box-shadow: 0 8px 24px rgb(245 181 32 / 0.35);
}

Amber
#f5b520  rgb(245, 181, 32)  hsl(42, 91%, 54%)  Amber
#2060f5  rgb(32, 96, 245)  hsl(222, 91%, 54%)  Ultramarine Blue
#20f5b5  rgb(32, 245, 181)  hsl(162, 91%, 54%)  Medium Spring Green
#b520f5  rgb(181, 32, 245)  hsl(282, 91%, 54%)  Electric Purple