#FBD502

#fbd502 ≈ Gold

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

#fbd502 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 83.53% green and 0.78% blue; printed in CMYK it uses 0% cyan, 15.14% magenta, 99.2% yellow and 1.57% black. Its hue angle is 50.84°, with 98.42% saturation and 49.61% 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 14.62:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 0.71.

Description generated from the measured properties of this color.

Conversions of #fbd502 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.681

Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d7d7d7 ≈ 0.003% of males
Achromatomaly #e6d6ab ≈ 0.001% of males
Protanopia #edd000 ≈ 1.01% of males
Deuteranopia #f7dc24 ≈ 1.27% of males
Tritanopia #ffc3b5 ≈ 0.0001% of males
Protanomaly #f3d200 ≈ 1.08% of males
Deuteranomaly #f8d91b ≈ 4.63% of males
Tritanomaly #ffca90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fbd502 {
  color: #fbd502;
}
Background
.bg-fbd502 {
  background-color: #fbd502;
  color: #000000;
}
Border
.border-fbd502 {
  border: 2px solid #fbd502;
}
CSS variables
:root {
  --color-primary: #fbd502;
  --color-primary-rgb: 251 213 2;
  --color-primary-hsl: 51 98% 50%;
}
Gradient
.gradient-fbd502 {
  background: linear-gradient(135deg, #fbd502, #a5fb02);
}
Colored shadow
.shadow-fbd502 {
  box-shadow: 0 8px 24px rgb(251 213 2 / 0.35);
}

Gold
#fbd502  rgb(251, 213, 2)  hsl(51, 98%, 50%)  Gold
#0228fb  rgb(2, 40, 251)  hsl(231, 98%, 50%)  Blue
#02fbd5  rgb(2, 251, 213)  hsl(171, 98%, 50%)  Aquamarine
#d502fb  rgb(213, 2, 251)  hsl(291, 98%, 50%)  Electric Purple