#C6AF2A color
The hex color #C6AF2A is a moderate yellow.
In the RGB color model it is made of 77.6% red, 68.6% green and 16.5% blue (198, 175, 42).
Its hue angle is 51°, with 65% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 79% yellow and 22% black.
The closest named color is Sulphur (#CAB012), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.57:1).
#C6AF2A color codes
| HEX | #C6AF2A | |
|---|---|---|
| RGB | rgb(198, 175, 42) | |
| RGB percent | rgb(77.6%, 68.6%, 16.5%) | |
| HSL | hsl(51, 65%, 47%) | |
| HSV / HSB | hsv(51, 79%, 78%) | |
| CMYK | cmyk(0%, 12%, 79%, 22%) | |
| CIE LAB | lab(71.44, -5.24, 65.62) | |
| CIE LCH | lch(71.44, 65.83, 94.57) | |
| CIE XYZ | xyz(39.039, 42.835, 8.402) | |
| Decimal | 13020970 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C6AF2A, 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 #C6AF2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.57:1 | Pass | Pass | Pass |
| Sample text | 2.2:1 | Fail | Fail | Fail |
| #C6AF2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.57: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 #C6AF2A looks to people with the most common types of color vision deficiency.
#c1aa05Protanopia
no red cones#c7b234Deuteranopia
no green cones#d6a196Tritanopia
no blue cones#afafafAchromatopsia
no color vision
CSS examples
.background { background-color: #c6af2a; }
.text { color: #c6af2a; }
.border { border: 2px solid #c6af2a; }
.transparent { background-color: rgb(198 175 42 / 50%); }
.gradient { background: linear-gradient(to right, #c6af2a, #8fc62a); }
Similar colors
#cab012Sulphur#c6aa2bHippie Trail#bda928Greenfinch#bfac05Muddy Yellow#cfb53bOld Gold#bea932Hey Pesto#c1b23ePesto#ccaa00Hot Sand
Closest common color name: Metallic Gold.
Questions
- What color is #C6AF2A?
- #C6AF2A is a moderate yellow, closest to the named color Sulphur. It belongs to the yellow family of colors.
- What is the RGB value of #C6AF2A?
- The RGB value is 198, 175, 42: 198 red, 175 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #C6AF2A?
- The complementary color is #2A41C6, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C6AF2A?
- Black text. Black text has a contrast ratio of 9.57:1 and white text 2.2:1. WCAG asks for at least 4.5:1 for normal text.