#FFBA0C

#ffba0c ≈ Amber

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

#ffba0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 72.94% green and 4.71% blue; printed in CMYK it uses 0% cyan, 27.06% magenta, 95.29% yellow and 0% black. Its hue angle is 42.96°, with 100% saturation and 52.35% 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.28:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #ffba0c 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.564

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #dfc19e ≈ 0.001% of males
Protanopia #d5bc00 ≈ 1.01% of males
Deuteranopia #e6cd1e ≈ 1.27% of males
Tritanopia #ffa69f ≈ 0.0001% of males
Protanomaly #e7bb00 ≈ 1.08% of males
Deuteranomaly #f0c618 ≈ 4.63% of males
Tritanomaly #ffae7e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffba0c {
  color: #ffba0c;
}
Background
.bg-ffba0c {
  background-color: #ffba0c;
  color: #000000;
}
Border
.border-ffba0c {
  border: 2px solid #ffba0c;
}
CSS variables
:root {
  --color-primary: #ffba0c;
  --color-primary-rgb: 255 186 12;
  --color-primary-hsl: 43 100% 52%;
}
Gradient
.gradient-ffba0c {
  background: linear-gradient(135deg, #ffba0c, #cbff0c);
}
Colored shadow
.shadow-ffba0c {
  box-shadow: 0 8px 24px rgb(255 186 12 / 0.35);
}

Amber
#ffba0c  rgb(255, 186, 12)  hsl(43, 100%, 52%)  Amber
#0c51ff  rgb(12, 81, 255)  hsl(223, 100%, 52%)  Ultramarine Blue
#0cffba  rgb(12, 255, 186)  hsl(163, 100%, 52%)  Medium Spring Green
#ba0cff  rgb(186, 12, 255)  hsl(283, 100%, 52%)  Electric Purple