#FFB40F

#ffb40f ≈ Amber

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

#ffb40f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 70.59% green and 5.88% blue; printed in CMYK it uses 0% cyan, 29.41% magenta, 94.12% yellow and 0% black. Its hue angle is 41.25°, with 100% saturation and 52.94% 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.79:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #ffb40f 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.5394

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

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #ddbd9b ≈ 0.001% of males
Protanopia #d0b700 ≈ 1.01% of males
Deuteranopia #e2c91d ≈ 1.27% of males
Tritanopia #ff9f9a ≈ 0.0001% of males
Protanomaly #e4b600 ≈ 1.08% of males
Deuteranomaly #eec118 ≈ 4.63% of males
Tritanomaly #ffa87a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffb40f {
  color: #ffb40f;
}
Background
.bg-ffb40f {
  background-color: #ffb40f;
  color: #000000;
}
Border
.border-ffb40f {
  border: 2px solid #ffb40f;
}
CSS variables
:root {
  --color-primary: #ffb40f;
  --color-primary-rgb: 255 180 15;
  --color-primary-hsl: 41 100% 53%;
}
Gradient
.gradient-ffb40f {
  background: linear-gradient(135deg, #ffb40f, #d2ff0f);
}
Colored shadow
.shadow-ffb40f {
  box-shadow: 0 8px 24px rgb(255 180 15 / 0.35);
}

Amber
#ffb40f  rgb(255, 180, 15)  hsl(41, 100%, 53%)  Amber
#0f5aff  rgb(15, 90, 255)  hsl(221, 100%, 53%)  Ultramarine Blue
#0fffb4  rgb(15, 255, 180)  hsl(161, 100%, 53%)  Medium Spring Green
#b40fff  rgb(180, 15, 255)  hsl(281, 100%, 53%)  Electric Purple