#F8BC02

#f8bc02 ≈ Amber

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

#f8bc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 73.73% green and 0.78% blue; printed in CMYK it uses 0% cyan, 24.19% magenta, 99.19% yellow and 2.75% black. Its hue angle is 45.37°, with 98.4% saturation and 49.02% 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.19:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.28.

Description generated from the measured properties of this color.

Conversions of #f8bc02 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.5593

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #dbc29d ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #e4cc1b ≈ 1.27% of males
Tritanopia #ffa9a0 ≈ 0.0001% of males
Protanomaly #e4bc00 ≈ 1.08% of males
Deuteranomaly #ecc614 ≈ 4.63% of males
Tritanomaly #ffb17f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8bc02 {
  color: #f8bc02;
}
Background
.bg-f8bc02 {
  background-color: #f8bc02;
  color: #000000;
}
Border
.border-f8bc02 {
  border: 2px solid #f8bc02;
}
CSS variables
:root {
  --color-primary: #f8bc02;
  --color-primary-rgb: 248 188 2;
  --color-primary-hsl: 45 98% 49%;
}
Gradient
.gradient-f8bc02 {
  background: linear-gradient(135deg, #f8bc02, #b9f802);
}
Colored shadow
.shadow-f8bc02 {
  box-shadow: 0 8px 24px rgb(248 188 2 / 0.35);
}

Amber
#f8bc02  rgb(248, 188, 2)  hsl(45, 98%, 49%)  Amber
#023ef8  rgb(2, 62, 248)  hsl(225, 98%, 49%)  Han Purple
#02f8bc  rgb(2, 248, 188)  hsl(165, 98%, 49%)  Aquamarine
#bc02f8  rgb(188, 2, 248)  hsl(285, 98%, 49%)  Electric Purple