#CDCDAF color
The hex color #CDCDAF is a light, grayish yellow.
In the RGB color model it is made of 80.4% red, 80.4% green and 68.6% blue (205, 205, 175).
Its hue angle is 60°, with 23% saturation and 75% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 15% yellow and 20% black.
The closest named color is Bitter Melon (#CFD1B2), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.95:1).
#CDCDAF color codes
| HEX | #CDCDAF | |
|---|---|---|
| RGB | rgb(205, 205, 175) | |
| RGB percent | rgb(80.4%, 80.4%, 68.6%) | |
| HSL | hsl(60, 23%, 75%) | |
| HSV / HSB | hsv(60, 15%, 80%) | |
| CMYK | cmyk(0%, 0%, 15%, 20%) | |
| CIE LAB | lab(81.7, -5.09, 14.97) | |
| CIE LCH | lch(81.7, 15.81, 108.77) | |
| CIE XYZ | xyz(54.745, 59.737, 49.196) | |
| Decimal | 13487535 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CDCDAF, 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 #CDCDAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.95:1 | Pass | Pass | Pass |
| Sample text | 1.62:1 | Fail | Fail | Fail |
| #CDCDAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.95: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 #CDCDAF looks to people with the most common types of color vision deficiency.
#d2caadProtanopia
no red cones#d3ccb0Deuteranopia
no green cones#d2c9c5Tritanopia
no blue cones#cbcbcbAchromatopsia
no color vision
CSS examples
.background { background-color: #cdcdaf; }
.text { color: #cdcdaf; }
.border { border: 2px solid #cdcdaf; }
.transparent { background-color: rgb(205 205 175 / 50%); }
.gradient { background: linear-gradient(to right, #cdcdaf, #becdaf); }
Similar colors
#cfd1b2Bitter Melon#d3cfabCrystal Palace#d5d7bfMedlar#cbcab6Tropical Fog#daddc3Planet Earth#ddd5b6Banana Frappé#bcc09eAnimal Kingdom#e1ddbfSilver Fern
Closest common color name: Oatmeal.
Questions
- What color is #CDCDAF?
- #CDCDAF is a light, grayish yellow, closest to the named color Bitter Melon. It belongs to the beige family of colors.
- What is the RGB value of #CDCDAF?
- The RGB value is 205, 205, 175: 205 red, 205 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #CDCDAF?
- The complementary color is #AFAFCD, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CDCDAF?
- Black text. Black text has a contrast ratio of 12.95:1 and white text 1.62:1. WCAG asks for at least 4.5:1 for normal text.