#CAB545 color
The hex color #CAB545 is a moderate yellow.
In the RGB color model it is made of 79.2% red, 71% green and 27.1% blue (202, 181, 69).
Its hue angle is 51°, with 56% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 66% yellow and 21% black.
The closest named color is Old Gold (#CFB53B), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.21:1).
#CAB545 color codes
| HEX | #CAB545 | |
|---|---|---|
| RGB | rgb(202, 181, 69) | |
| RGB percent | rgb(79.2%, 71%, 27.1%) | |
| HSL | hsl(51, 56%, 53%) | |
| HSV / HSB | hsv(51, 66%, 79%) | |
| CMYK | cmyk(0%, 10%, 66%, 21%) | |
| CIE LAB | lab(73.57, -5.36, 57.73) | |
| CIE LCH | lch(73.57, 57.98, 95.31) | |
| CIE XYZ | xyz(41.957, 46.036, 12.305) | |
| Decimal | 13284677 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CAB545, 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 #CAB545 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.21:1 | Pass | Pass | Pass |
| Sample text | 2.06:1 | Fail | Fail | Fail |
| #CAB545 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.06:1 | Fail | Fail | Fail |
| Sample text | 10.21: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 #CAB545 looks to people with the most common types of color vision deficiency.
#c6b037Protanopia
no red cones#ccb84bDeuteranopia
no green cones#d9a89eTritanopia
no blue cones#b5b5b5Achromatopsia
no color vision
CSS examples
.background { background-color: #cab545; }
.text { color: #cab545; }
.border { border: 2px solid #cab545; }
.transparent { background-color: rgb(202 181 69 / 50%); }
.gradient { background: linear-gradient(to right, #cab545, #9cca45); }
Similar colors
#cfb53bOld Gold#c1b23ePesto#c5b358Vegas Gold#d6b63dOldies but Goldies#d6b956Gold Vein#bea932Hey Pesto#dbbc4bBuried Gold#c6aa2bHippie Trail
Closest common color name: Metallic Gold.
Questions
- What color is #CAB545?
- #CAB545 is a moderate yellow, closest to the named color Old Gold. It belongs to the yellow family of colors.
- What is the RGB value of #CAB545?
- The RGB value is 202, 181, 69: 202 red, 181 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #CAB545?
- The complementary color is #455ACA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CAB545?
- Black text. Black text has a contrast ratio of 10.21:1 and white text 2.06:1. WCAG asks for at least 4.5:1 for normal text.