#F2B004

#f2b004 ≈ Amber

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

#f2b004 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 69.02% green and 1.57% blue; printed in CMYK it uses 0% cyan, 27.27% magenta, 98.35% yellow and 5.1% black. Its hue angle is 43.36°, with 96.75% saturation and 48.24% 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 10.99:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 4.

Description generated from the measured properties of this color.

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

Readable text 1.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bbbbbb ≈ 0.003% of males
Achromatomaly #d3b795 ≈ 0.001% of males
Protanopia #cab200 ≈ 1.01% of males
Deuteranopia #dac218 ≈ 1.27% of males
Tritanopia #ff9c96 ≈ 0.0001% of males
Protanomaly #dbb100 ≈ 1.08% of males
Deuteranomaly #e4bb12 ≈ 4.63% of males
Tritanomaly #ffa577 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2b004 {
  color: #f2b004;
}
Background
.bg-f2b004 {
  background-color: #f2b004;
  color: #000000;
}
Border
.border-f2b004 {
  border: 2px solid #f2b004;
}
CSS variables
:root {
  --color-primary: #f2b004;
  --color-primary-rgb: 242 176 4;
  --color-primary-hsl: 43 97% 48%;
}
Gradient
.gradient-f2b004 {
  background: linear-gradient(135deg, #f2b004, #bdf204);
}
Colored shadow
.shadow-f2b004 {
  box-shadow: 0 8px 24px rgb(242 176 4 / 0.35);
}

Amber
#f2b004  rgb(242, 176, 4)  hsl(43, 97%, 48%)  Amber
#0446f2  rgb(4, 70, 242)  hsl(223, 97%, 48%)  Iris
#04f2b0  rgb(4, 242, 176)  hsl(163, 97%, 48%)  Medium Spring Green
#b004f2  rgb(176, 4, 242)  hsl(283, 97%, 48%)  Vivid Violet