#CDC79D color
The hex color #CDC79D is a light, desaturated yellow.
In the RGB color model it is made of 80.4% red, 78% green and 61.6% blue (205, 199, 157).
Its hue angle is 52°, with 32% saturation and 71% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 23% yellow and 20% black.
The closest named color is Crystal Palace (#D3CFAB), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.25:1).
#CDC79D color codes
| HEX | #CDC79D | |
|---|---|---|
| RGB | rgb(205, 199, 157) | |
| RGB percent | rgb(80.4%, 78%, 61.6%) | |
| HSL | hsl(52, 32%, 71%) | |
| HSV / HSB | hsv(52, 23%, 80%) | |
| CMYK | cmyk(0%, 3%, 23%, 20%) | |
| CIE LAB | lab(79.76, -4.65, 21.83) | |
| CIE LCH | lch(79.76, 22.32, 102.03) | |
| CIE XYZ | xyz(51.686, 56.261, 40.028) | |
| Decimal | 13485981 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CDC79D, 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 #CDC79D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.25:1 | Pass | Pass | Pass |
| Sample text | 1.71:1 | Fail | Fail | Fail |
| #CDC79D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.25: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 #CDC79D looks to people with the most common types of color vision deficiency.
#cfc49aProtanopia
no red cones#d1c79eDeuteranopia
no green cones#d5c1bcTritanopia
no blue cones#c6c6c6Achromatopsia
no color vision
CSS examples
.background { background-color: #cdc79d; }
.text { color: #cdc79d; }
.border { border: 2px solid #cdc79d; }
.transparent { background-color: rgb(205 199 157 / 50%); }
.gradient { background: linear-gradient(to right, #cdc79d, #bbcd9d); }
Similar colors
#d3cfabCrystal Palace#cecb97Court-Bouillon#d4c990Golden Mist#ddd3aeStardust#cbc1a2Moth#bcb88aSage#d4ca8eRoyal Goblet#e0d2a9Gratin Dauphinois
Questions
- What color is #CDC79D?
- #CDC79D is a light, desaturated yellow, closest to the named color Crystal Palace. It belongs to the beige family of colors.
- What is the RGB value of #CDC79D?
- The RGB value is 205, 199, 157: 205 red, 199 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #CDC79D?
- The complementary color is #9DA3CD, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CDC79D?
- Black text. Black text has a contrast ratio of 12.25:1 and white text 1.71:1. WCAG asks for at least 4.5:1 for normal text.