#D1B72C color
The hex color #D1B72C is a moderate yellow.
In the RGB color model it is made of 82% red, 71.8% green and 17.3% blue (209, 183, 44).
Its hue angle is 51°, with 65% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 79% yellow and 18% black.
The closest named color is Indian Pale Ale (#D5BC26), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.52:1).
#D1B72C color codes
| HEX | #D1B72C | |
|---|---|---|
| RGB | rgb(209, 183, 44) | |
| RGB percent | rgb(82%, 71.8%, 17.3%) | |
| HSL | hsl(51, 65%, 50%) | |
| HSV / HSB | hsv(51, 79%, 82%) | |
| CMYK | cmyk(0%, 12%, 79%, 18%) | |
| CIE LAB | lab(74.58, -4.55, 68.18) | |
| CIE LCH | lch(74.58, 68.33, 93.82) | |
| CIE XYZ | xyz(43.685, 47.606, 9.27) | |
| Decimal | 13743916 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D1B72C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #D1B72C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.52:1 | Pass | Pass | Pass |
| Sample text | 2:1 | Fail | Fail | Fail |
| #D1B72C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.52:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #D1B72C looks to people with the most common types of color vision deficiency.
#cab204Protanopia
no red cones#d1bb36Deuteranopia
no green cones#e2a99dTritanopia
no blue cones#b7b7b7Achromatopsia
no color vision
CSS examples
.background { background-color: #d1b72c; }
.text { color: #d1b72c; }
.border { border: 2px solid #d1b72c; }
.transparent { background-color: rgb(209 183 44 / 50%); }
.gradient { background: linear-gradient(to right, #d1b72c, #98d12c); }
Similar colors
#d5bc26Indian Pale Ale#cfb53bOld Gold#cab012Sulphur#d6b63dOldies but Goldies#ddbb33Wax#d6be01Groovy Lemon Pie#e1c12fFinger Banana#dbbc4bBuried Gold
Closest common color name: Metallic Gold.
Questions
- What color is #D1B72C?
- #D1B72C is a moderate yellow, closest to the named color Indian Pale Ale. It belongs to the yellow family of colors.
- What is the RGB value of #D1B72C?
- The RGB value is 209, 183, 44: 209 red, 183 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #D1B72C?
- The complementary color is #2C46D1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D1B72C?
- Black text. Black text has a contrast ratio of 10.52:1 and white text 2:1. WCAG asks for at least 4.5:1 for normal text.