#FFD700 color codes
- HEX
- #FFD700
- HEX8
- #FFD700FF
- HEX8 (Android)
- #FFFFD700
- RGB
- rgb(255, 215, 0)
- RGB (%)
- 100%, 84%, 0%
- HSL
- hsl(51, 100%, 50%)
- HSV / HSB
- hsv(51, 100%, 100%)
- CMYK
- cmyk(0%, 16%, 100%, 0%)
- OKLCH
- oklch(0.8868 0.1822 95.33)
- OKLCH (%)
- oklch(88.68% 0.1822 95.33)
- Decimal
- 16766720
What color is #FFD700?
#FFD700 sits at 89% lightness and 0.1822 chroma in OKLCH, hue 95.33°. Its nearest named color is Gold (an exact match).
Shades and tints of #FFD700
Tints
Shades
Tones
#FFD700 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #FFD700 in CSS
.text { color: #FFD700; }
.background { background-color: #FFD700; }
.border { border: 2px solid #FFD700; }
/* Modern, perceptually uniform */
.text { color: oklch(0.8868 0.1822 95.33); }
/* #FFD700 at 50% transparency */
.overlay { background-color: #FFD70080; }Is #FFD700 accessible?
#FFD700 on white text scores 1.40:1; on black text it scores 14.97:1. Black text passes WCAG AAA on #FFD700. Recommended text color on a #FFD700 background: black.
A 14.97:1 vs black
A 1.4:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: black
CSS
contrast-color() contrast-color(#FFD700) → black APCA Lc experimental 84.5 Lc · body text (black text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Gold #FFD700. See more in the yellow family on the colors hub.
Frequently asked questions
- What color is #FFD700?
- #FFD700 is Gold. In RGB it is rgb(255, 215, 0), and in HSL hsl(51, 100%, 50%).
- What is #FFD700 in RGB?
- #FFD700 converts to rgb(255, 215, 0) — red 255, green 215, blue 0.
- What text color is readable on #FFD700?
- Black text — it has the higher contrast ratio (14.97:1) against #FFD700. Black text passes WCAG AAA on #FFD700.