#CAC798 color
The hex color #CAC798 is a light, desaturated yellow.
In the RGB color model it is made of 79.2% red, 78% green and 59.6% blue (202, 199, 152).
Its hue angle is 56°, with 32% saturation and 69% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 25% yellow and 21% black.
The closest named color is Court-Bouillon (#CECB97), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.13:1).
#CAC798 color codes
| HEX | #CAC798 | |
|---|---|---|
| RGB | rgb(202, 199, 152) | |
| RGB percent | rgb(79.2%, 78%, 59.6%) | |
| HSL | hsl(56, 32%, 69%) | |
| HSV / HSB | hsv(56, 25%, 79%) | |
| CMYK | cmyk(0%, 1%, 25%, 21%) | |
| CIE LAB | lab(79.43, -6.49, 23.98) | |
| CIE LCH | lch(79.43, 24.84, 105.15) | |
| CIE XYZ | xyz(50.448, 55.671, 37.788) | |
| Decimal | 13289368 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CAC798, 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 #CAC798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.13:1 | Pass | Pass | Pass |
| Sample text | 1.73:1 | Fail | Fail | Fail |
| #CAC798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.13: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 #CAC798 looks to people with the most common types of color vision deficiency.
#cfc395Protanopia
no red cones#d1c69aDeuteranopia
no green cones#d2c1baTritanopia
no blue cones#c5c5c5Achromatopsia
no color vision
CSS examples
.background { background-color: #cac798; }
.text { color: #cac798; }
.border { border: 2px solid #cac798; }
.transparent { background-color: rgb(202 199 152 / 50%); }
.gradient { background: linear-gradient(to right, #cac798, #b4ca98); }
Similar colors
#cecb97Court-Bouillon#d4c990Golden Mist#bec187Kiss a Frog#d3cfabCrystal Palace#d4ca8eRoyal Goblet#bcb88aSage#bbc199Beige and Sage#bcc09eAnimal Kingdom
Questions
- What color is #CAC798?
- #CAC798 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 #CAC798?
- The RGB value is 202, 199, 152: 202 red, 199 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #CAC798?
- The complementary color is #989BCA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CAC798?
- Black text. Black text has a contrast ratio of 12.13:1 and white text 1.73:1. WCAG asks for at least 4.5:1 for normal text.