#CAC399 color
The hex color #CAC399 is a light, desaturated yellow.
In the RGB color model it is made of 79.2% red, 76.5% green and 60% blue (202, 195, 153).
Its hue angle is 51°, with 32% saturation and 70% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 24% yellow and 21% black.
The closest named color is Court-Bouillon (#CECB97), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 11.78:1).
#CAC399 color codes
| HEX | #CAC399 | |
|---|---|---|
| RGB | rgb(202, 195, 153) | |
| RGB percent | rgb(79.2%, 76.5%, 60%) | |
| HSL | hsl(51, 32%, 70%) | |
| HSV / HSB | hsv(51, 24%, 79%) | |
| CMYK | cmyk(0%, 3%, 24%, 21%) | |
| CIE LAB | lab(78.4, -4.27, 22.04) | |
| CIE LCH | lch(78.4, 22.45, 100.97) | |
| CIE XYZ | xyz(49.622, 53.888, 37.918) | |
| Decimal | 13288345 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CAC399, 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 #CAC399 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.78:1 | Pass | Pass | Pass |
| Sample text | 1.78:1 | Fail | Fail | Fail |
| #CAC399 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.78: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 #CAC399 looks to people with the most common types of color vision deficiency.
#cbc096Protanopia
no red cones#cec39aDeuteranopia
no green cones#d2bdb8Tritanopia
no blue cones#c2c2c2Achromatopsia
no color vision
CSS examples
.background { background-color: #cac399; }
.text { color: #cac399; }
.border { border: 2px solid #cac399; }
.transparent { background-color: rgb(202 195 153 / 50%); }
.gradient { background: linear-gradient(to right, #cac399, #b8ca99); }
Similar colors
#cecb97Court-Bouillon#bcb88aSage#d3cfabCrystal Palace#cbc1a2Moth#d4c990Golden Mist#c5bda0Lush#c6bb9cBeach Dune#d0c19fCastaway Beach
Questions
- What color is #CAC399?
- #CAC399 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 #CAC399?
- The RGB value is 202, 195, 153: 202 red, 195 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #CAC399?
- The complementary color is #99A0CA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CAC399?
- Black text. Black text has a contrast ratio of 11.78:1 and white text 1.78:1. WCAG asks for at least 4.5:1 for normal text.