#FFDB12

#ffdb12 ≈ Gold

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

#ffdb12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 85.88% green and 7.06% blue; printed in CMYK it uses 0% cyan, 14.12% magenta, 92.94% yellow and 0% black. Its hue angle is 50.89°, with 100% saturation and 53.53% 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 15.39:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 1.24.

Description generated from the measured properties of this color.

Conversions of #ffdb12 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.7197

Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #ebdcb0 ≈ 0.001% of males
Protanopia #f3d600 ≈ 1.01% of males
Deuteranopia #fce22b ≈ 1.27% of males
Tritanopia #ffc9bb ≈ 0.0001% of males
Protanomaly #f8d800 ≈ 1.08% of males
Deuteranomaly #fddf23 ≈ 4.63% of males
Tritanomaly #ffd095 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffdb12 {
  color: #ffdb12;
}
Background
.bg-ffdb12 {
  background-color: #ffdb12;
  color: #000000;
}
Border
.border-ffdb12 {
  border: 2px solid #ffdb12;
}
CSS variables
:root {
  --color-primary: #ffdb12;
  --color-primary-rgb: 255 219 18;
  --color-primary-hsl: 51 100% 54%;
}
Gradient
.gradient-ffdb12 {
  background: linear-gradient(135deg, #ffdb12, #acff12);
}
Colored shadow
.shadow-ffdb12 {
  box-shadow: 0 8px 24px rgb(255 219 18 / 0.35);
}

Gold
#ffdb12  rgb(255, 219, 18)  hsl(51, 100%, 54%)  Gold
#1236ff  rgb(18, 54, 255)  hsl(231, 100%, 54%)  Han Purple
#12ffdb  rgb(18, 255, 219)  hsl(171, 100%, 54%)  Aquamarine
#db12ff  rgb(219, 18, 255)  hsl(291, 100%, 54%)  Electric Purple