#F2BA28

#f2ba28 ≈ Amber

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

#f2ba28 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 72.94% green and 15.69% blue; printed in CMYK it uses 0% cyan, 23.14% magenta, 83.47% yellow and 5.1% black. Its hue angle is 43.37°, with 88.6% saturation and 55.29% 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.83:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 2.76.

Description generated from the measured properties of this color.

Conversions of #f2ba28 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.5415

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #d7bf9c ≈ 0.001% of males
Protanopia #d2ba00 ≈ 1.01% of males
Deuteranopia #e0c831 ≈ 1.27% of males
Tritanopia #ffa8a0 ≈ 0.0001% of males
Protanomaly #e0ba11 ≈ 1.08% of males
Deuteranomaly #e7c32e ≈ 4.63% of males
Tritanomaly #ffaf81 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2ba28 {
  color: #f2ba28;
}
Background
.bg-f2ba28 {
  background-color: #f2ba28;
  color: #000000;
}
Border
.border-f2ba28 {
  border: 2px solid #f2ba28;
}
CSS variables
:root {
  --color-primary: #f2ba28;
  --color-primary-rgb: 242 186 40;
  --color-primary-hsl: 43 89% 55%;
}
Gradient
.gradient-f2ba28 {
  background: linear-gradient(135deg, #f2ba28, #c5f228);
}
Colored shadow
.shadow-f2ba28 {
  box-shadow: 0 8px 24px rgb(242 186 40 / 0.35);
}

Amber
#f2ba28  rgb(242, 186, 40)  hsl(43, 89%, 55%)  Amber
#2860f2  rgb(40, 96, 242)  hsl(223, 89%, 55%)  Ultramarine Blue
#28f2ba  rgb(40, 242, 186)  hsl(163, 89%, 55%)  Aquamarine
#ba28f2  rgb(186, 40, 242)  hsl(283, 89%, 55%)  Electric Purple