#CAB526 color
The hex color #CAB526 is a moderate yellow.
In the RGB color model it is made of 79.2% red, 71% green and 14.9% blue (202, 181, 38).
Its hue angle is 52°, with 68% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 81% yellow and 21% black.
The closest named color is Sulphur (#CAB012), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.15:1).
#CAB526 color codes
| HEX | #CAB526 | |
|---|---|---|
| RGB | rgb(202, 181, 38) | |
| RGB percent | rgb(79.2%, 71%, 14.9%) | |
| HSL | hsl(52, 68%, 47%) | |
| HSV / HSB | hsv(52, 81%, 79%) | |
| CMYK | cmyk(0%, 10%, 81%, 21%) | |
| CIE LAB | lab(73.38, -6.76, 68.66) | |
| CIE LCH | lch(73.38, 68.99, 95.62) | |
| CIE XYZ | xyz(41.233, 45.746, 8.491) | |
| Decimal | 13284646 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CAB526, 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 #CAB526 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.15:1 | Pass | Pass | Pass |
| Sample text | 2.07:1 | Fail | Fail | Fail |
| #CAB526 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.15: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 #CAB526 looks to people with the most common types of color vision deficiency.
#c7b000Protanopia
no red cones#cdb832Deuteranopia
no green cones#daa79bTritanopia
no blue cones#b4b4b4Achromatopsia
no color vision
CSS examples
.background { background-color: #cab526; }
.text { color: #cab526; }
.border { border: 2px solid #cab526; }
.transparent { background-color: rgb(202 181 38 / 50%); }
.gradient { background: linear-gradient(to right, #cab526, #8dca26); }
Similar colors
#cab012Sulphur#cfb53bOld Gold#d5bc26Indian Pale Ale#bfac05Muddy Yellow#c1b23ePesto#d6be01Groovy Lemon Pie#bda928Greenfinch#c6aa2bHippie Trail
Closest common color name: Metallic Gold.
Questions
- What color is #CAB526?
- #CAB526 is a moderate yellow, closest to the named color Sulphur. It belongs to the yellow family of colors.
- What is the RGB value of #CAB526?
- The RGB value is 202, 181, 38: 202 red, 181 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #CAB526?
- The complementary color is #263BCA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CAB526?
- Black text. Black text has a contrast ratio of 10.15:1 and white text 2.07:1. WCAG asks for at least 4.5:1 for normal text.