#CDC7A8 color
The hex color #CDC7A8 is a light, desaturated yellow.
In the RGB color model it is made of 80.4% red, 78% green and 65.9% blue (205, 199, 168).
Its hue angle is 50°, with 27% saturation and 73% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 18% yellow and 20% black.
The closest named color is Moth (#CBC1A2), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.33:1).
#CDC7A8 color codes
| HEX | #CDC7A8 | |
|---|---|---|
| RGB | rgb(205, 199, 168) | |
| RGB percent | rgb(80.4%, 78%, 65.9%) | |
| HSL | hsl(50, 27%, 73%) | |
| HSV / HSB | hsv(50, 18%, 80%) | |
| CMYK | cmyk(0%, 3%, 18%, 20%) | |
| CIE LAB | lab(79.98, -3.04, 16.3) | |
| CIE LCH | lch(79.98, 16.58, 100.58) | |
| CIE XYZ | xyz(52.668, 56.654, 45.199) | |
| Decimal | 13485992 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CDC7A8, 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 #CDC7A8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.33:1 | Pass | Pass | Pass |
| Sample text | 1.7:1 | Fail | Fail | Fail |
| #CDC7A8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.33: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 #CDC7A8 looks to people with the most common types of color vision deficiency.
#cec5a6Protanopia
no red cones#cfc7a9Deuteranopia
no green cones#d3c2beTritanopia
no blue cones#c6c6c6Achromatopsia
no color vision
CSS examples
.background { background-color: #cdc7a8; }
.text { color: #cdc7a8; }
.border { border: 2px solid #cdc7a8; }
.transparent { background-color: rgb(205 199 168 / 50%); }
.gradient { background: linear-gradient(to right, #cdc7a8, #c1cda8); }
Similar colors
#cbc1a2Moth#d3cfabCrystal Palace#c5bda0Lush#d8cfb6Berber#d8caa9Fiji Sands#ddd5b6Banana Frappé#c6bb9cBeach Dune#ddd3aeStardust
Closest common color name: Sage.
Questions
- What color is #CDC7A8?
- #CDC7A8 is a light, desaturated yellow, closest to the named color Moth. It belongs to the beige family of colors.
- What is the RGB value of #CDC7A8?
- The RGB value is 205, 199, 168: 205 red, 199 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #CDC7A8?
- The complementary color is #A8AECD, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CDC7A8?
- Black text. Black text has a contrast ratio of 12.33:1 and white text 1.7:1. WCAG asks for at least 4.5:1 for normal text.