#F8DC0C

#f8dc0c ≈ Golden Yellow

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

#f8dc0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 86.27% green and 4.71% blue; printed in CMYK it uses 0% cyan, 11.29% magenta, 95.16% yellow and 2.75% black. Its hue angle is 52.88°, with 94.4% saturation and 50.98% 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.23:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 1.28.

Description generated from the measured properties of this color.

Conversions of #f8dc0c 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.7117

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dbdbdb ≈ 0.003% of males
Achromatomaly #e7dcaf ≈ 0.001% of males
Protanopia #f3d600 ≈ 1.01% of males
Deuteranopia #fae02a ≈ 1.27% of males
Tritanopia #ffcabc ≈ 0.0001% of males
Protanomaly #f5d800 ≈ 1.08% of males
Deuteranomaly #f9de21 ≈ 4.63% of males
Tritanomaly #ffd295 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8dc0c {
  color: #f8dc0c;
}
Background
.bg-f8dc0c {
  background-color: #f8dc0c;
  color: #000000;
}
Border
.border-f8dc0c {
  border: 2px solid #f8dc0c;
}
CSS variables
:root {
  --color-primary: #f8dc0c;
  --color-primary-rgb: 248 220 12;
  --color-primary-hsl: 53 94% 51%;
}
Gradient
.gradient-f8dc0c {
  background: linear-gradient(135deg, #f8dc0c, #9ef80c);
}
Colored shadow
.shadow-f8dc0c {
  box-shadow: 0 8px 24px rgb(248 220 12 / 0.35);
}

Golden Yellow
#f8dc0c  rgb(248, 220, 12)  hsl(53, 94%, 51%)  Golden Yellow
#0c28f8  rgb(12, 40, 248)  hsl(233, 94%, 51%)  Blue
#0cf8dc  rgb(12, 248, 220)  hsl(173, 94%, 51%)  Turquoise Blue
#dc0cf8  rgb(220, 12, 248)  hsl(293, 94%, 51%)  Electric Purple