Gold #FFD700
Gold is one of the named colours in CSS, written gold. Black text reaches 14.97:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | gold |
|---|---|
| HEX | #FFD700 |
| RGB | rgb(255 215 0) |
| HSL | hsl(51 100% 50%) |
| OKLCH | oklch(88.7% 0.182 95.3) |
| White text | 1.40:1 · body text AA Fail |
| Black text | 14.97:1 · body text AA Pass |
Colours that go with Gold
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Apricot Yellow (#FFDD00), nearly identical. These are the colours Wada paired it with, ranked by their contrast with Gold itself.
| Colour | HEX | Contrast with Gold | Body text AA |
|---|---|---|---|
| Dull Violet Black | #1E0E3F | 12.58:1 | Pass |
| Deep Lyons Blue | #1C4286 | 6.89:1 | Pass |
| Dusky Green | #004F46 | 6.78:1 | Pass |
| Antwarp Blue | #007190 | 3.98:1 | Fail |
| Cossack Green | #437742 | 3.78:1 | Fail |
| Burnt Sienna | #AE5224 | 3.71:1 | Fail |
| Light Grayish Olive | #848061 | 2.86:1 | Fail |
| Raw Sienna | #BB7125 | 2.72:1 | Fail |
| Benzol Green | #00978D | 2.58:1 | Fail |
| Eugenia Red | A | #E2625E | 2.44:1 | Fail |
| Green | #489B6E | 2.42:1 | Fail |
| Old Rose | #D46D7A | 2.39:1 | Fail |
| Khaki | #BC892B | 2.22:1 | Fail |
| Olive Yellow | #A6A159 | 1.90:1 | Fail |
| Sea Green | #00B49B | 1.87:1 | Fail |
| Salvia Blue | #97ACC8 | 1.65:1 | Fail |
| Citron Yellow | #B2B73E | 1.54:1 | Fail |
| Yellow Orange | #F99D1B | 1.52:1 | Fail |
| Vinaceous Cinnamon | #EEA78C | 1.42:1 | Fail |
| Pinkish Cinnamon | #EEB480 | 1.30:1 | Fail |
| Pale King's Blue | #A7D4E4 | 1.14:1 | Fail |
| Turquoise Green | #B5DECC | 1.05:1 | Fail |
Palettes with Apricot Yellow
- Combination #107 Apricot Yellow · Light Grayish Olive
- Combination #129 Apricot Yellow · Khaki · Salvia Blue
- Combination #163 Apricot Yellow · Turquoise Green · Antwarp Blue
- Combination #198 Burnt Sienna · Apricot Yellow · Green
- Combination #213 Vinaceous Cinnamon · Apricot Yellow · Pale King's Blue
- Combination #247 Raw Sienna · Apricot Yellow · Benzol Green · Deep Lyons Blue
- Combination #265 Old Rose · Apricot Yellow · Olive Yellow · Dull Violet Black
- Combination #284 Eugenia Red | A · Apricot Yellow · Sea Green · Dusky Green
- Combination #305 Pinkish Cinnamon · Apricot Yellow · Citron Yellow · Turquoise Green
- Combination #319 Raw Sienna · Apricot Yellow · Yellow Orange · Cossack Green
Shades and tints of Gold
Nine lightness steps in OKLCH that keep the hue of Gold. Chroma is reduced only where sRGB cannot show it.
- 100#FFF6D1
- 200#FFE47B
- 300#F1CB00
- 400#D0AF00
- 500#AC9000
- 600#867000
- 700#655400
- 800#463A00
- 900#292100
:root {
--gold-100: #FFF6D1;
--gold-200: #FFE47B;
--gold-300: #F1CB00;
--gold-400: #D0AF00;
--gold-500: #AC9000;
--gold-600: #867000;
--gold-700: #655400;
--gold-800: #463A00;
--gold-900: #292100;
}
Text that keeps Gold on screen
Text #292100 on #FFD700 reaches 11.41:1, which passes WCAG AA for body text. Check it on a dashboard