#FFDC02

#ffdc02 ≈ Golden Yellow

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

#ffdc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 86.27% green and 0.78% blue; printed in CMYK it uses 0% cyan, 13.73% magenta, 99.22% yellow and 0% black. Its hue angle is 51.7°, with 100% saturation and 50.39% 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.49:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 0.94.

Description generated from the measured properties of this color.

Conversions of #ffdc02 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.7245

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

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #ebddb0 ≈ 0.001% of males
Protanopia #f4d700 ≈ 1.01% of males
Deuteranopia #fde226 ≈ 1.27% of males
Tritanopia #ffcabb ≈ 0.0001% of males
Protanomaly #f9d900 ≈ 1.08% of males
Deuteranomaly #fee01c ≈ 4.63% of males
Tritanomaly #ffd195 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Golden Yellow
#ffdc02  rgb(255, 220, 2)  hsl(52, 100%, 50%)  Golden Yellow
#0225ff  rgb(2, 37, 255)  hsl(232, 100%, 50%)  Blue
#02ffdc  rgb(2, 255, 220)  hsl(172, 100%, 50%)  Turquoise Blue
#dc02ff  rgb(220, 2, 255)  hsl(292, 100%, 50%)  Electric Purple