#CDC791 color
The hex color #CDC791 is a light, desaturated yellow.
In the RGB color model it is made of 80.4% red, 78% green and 56.9% blue (205, 199, 145).
Its hue angle is 54°, with 38% saturation and 69% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 29% yellow and 20% black.
The closest named color is Court-Bouillon (#CECB97), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.17:1).
#CDC791 color codes
| HEX | #CDC791 | |
|---|---|---|
| RGB | rgb(205, 199, 145) | |
| RGB percent | rgb(80.4%, 78%, 56.9%) | |
| HSL | hsl(54, 38%, 69%) | |
| HSV / HSB | hsv(54, 29%, 80%) | |
| CMYK | cmyk(0%, 3%, 29%, 20%) | |
| CIE LAB | lab(79.54, -6.28, 27.86) | |
| CIE LCH | lch(79.54, 28.56, 102.7) | |
| CIE XYZ | xyz(50.711, 55.871, 34.895) | |
| Decimal | 13485969 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CDC791, 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 #CDC791 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.17:1 | Pass | Pass | Pass |
| Sample text | 1.72:1 | Fail | Fail | Fail |
| #CDC791 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.17: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 #CDC791 looks to people with the most common types of color vision deficiency.
#d1c38dProtanopia
no red cones#d3c793Deuteranopia
no green cones#d6c0b9Tritanopia
no blue cones#c5c5c5Achromatopsia
no color vision
CSS examples
.background { background-color: #cdc791; }
.text { color: #cdc791; }
.border { border: 2px solid #cdc791; }
.transparent { background-color: rgb(205 199 145 / 50%); }
.gradient { background: linear-gradient(to right, #cdc791, #b5cd91); }
Similar colors
#cecb97Court-Bouillon#d4c990Golden Mist#d4ca8eRoyal Goblet#bec187Kiss a Frog#ddcc99Desert Temple#bcb88aSage#e0d1a0Woven#c3c67eSoda Pop
Questions
- What color is #CDC791?
- #CDC791 is a light, desaturated yellow, closest to the named color Court-Bouillon. It belongs to the beige family of colors.
- What is the RGB value of #CDC791?
- The RGB value is 205, 199, 145: 205 red, 199 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #CDC791?
- The complementary color is #9197CD, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CDC791?
- Black text. Black text has a contrast ratio of 12.17:1 and white text 1.72:1. WCAG asks for at least 4.5:1 for normal text.