#F7DC0C

#f7dc0c ≈ Golden Yellow

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

#f7dc0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.86% red, 86.27% green and 4.71% blue; printed in CMYK it uses 0% cyan, 10.93% magenta, 95.14% yellow and 3.14% black. Its hue angle is 53.11°, with 93.63% saturation and 50.78% 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.2:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 1.48.

Description generated from the measured properties of this color.

Conversions of #f7dc0c 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.7099

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.2: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 #f4d800 ≈ 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-f7dc0c {
  color: #f7dc0c;
}
Background
.bg-f7dc0c {
  background-color: #f7dc0c;
  color: #000000;
}
Border
.border-f7dc0c {
  border: 2px solid #f7dc0c;
}
CSS variables
:root {
  --color-primary: #f7dc0c;
  --color-primary-rgb: 247 220 12;
  --color-primary-hsl: 53 94% 51%;
}
Gradient
.gradient-f7dc0c {
  background: linear-gradient(135deg, #f7dc0c, #9cf70c);
}
Colored shadow
.shadow-f7dc0c {
  box-shadow: 0 8px 24px rgb(247 220 12 / 0.35);
}

Golden Yellow
#f7dc0c  rgb(247, 220, 12)  hsl(53, 94%, 51%)  Golden Yellow
#0c27f7  rgb(12, 39, 247)  hsl(233, 94%, 51%)  Blue
#0cf7dc  rgb(12, 247, 220)  hsl(173, 94%, 51%)  Turquoise Blue
#dc0cf7  rgb(220, 12, 247)  hsl(293, 94%, 51%)  Electric Purple