#D1C52F color
The hex color #D1C52F is a moderate yellow.
In the RGB color model it is made of 82% red, 77.3% green and 18.4% blue (209, 197, 47).
Its hue angle is 56°, with 64% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 78% yellow and 18% black.
The closest named color is Lanky Lemon (#D9C948), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 11.74:1).
#D1C52F color codes
| HEX | #D1C52F | |
|---|---|---|
| RGB | rgb(209, 197, 47) | |
| RGB percent | rgb(82%, 77.3%, 18.4%) | |
| HSL | hsl(56, 64%, 50%) | |
| HSV / HSB | hsv(56, 78%, 82%) | |
| CMYK | cmyk(0%, 6%, 78%, 18%) | |
| CIE LAB | lab(78.28, -11.64, 70.58) | |
| CIE LCH | lch(78.28, 71.54, 99.36) | |
| CIE XYZ | xyz(46.776, 53.695, 10.589) | |
| Decimal | 13747503 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D1C52F, 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 #D1C52F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.74:1 | Pass | Pass | Pass |
| Sample text | 1.79:1 | Fail | Fail | Fail |
| #D1C52F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.74: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 #D1C52F looks to people with the most common types of color vision deficiency.
#d7be02Protanopia
no red cones#dbc53bDeuteranopia
no green cones#e1b7a9Tritanopia
no blue cones#c2c2c2Achromatopsia
no color vision
CSS examples
.background { background-color: #d1c52f; }
.text { color: #d1c52f; }
.border { border: 2px solid #d1c52f; }
.transparent { background-color: rgb(209 197 47 / 50%); }
.gradient { background: linear-gradient(to right, #d1c52f, #8cd12f); }
Similar colors
#d9c948Lanky Lemon#dcc61fPaella#cccc11Golden Harvest#d6be01Groovy Lemon Pie#cec754Salsa Verde#d5bc26Indian Pale Ale#e0c84bGolden Kingdom#e3c81cOh Em Ghee
Closest common color name: Dandelion.
Questions
- What color is #D1C52F?
- #D1C52F is a moderate yellow, closest to the named color Lanky Lemon. It belongs to the yellow family of colors.
- What is the RGB value of #D1C52F?
- The RGB value is 209, 197, 47: 209 red, 197 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #D1C52F?
- The complementary color is #2F3BD1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D1C52F?
- Black text. Black text has a contrast ratio of 11.74:1 and white text 1.79:1. WCAG asks for at least 4.5:1 for normal text.