#C6AF2A color

#C6AF2A rgb(198, 175, 42)
Shades of yellow

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
RGBrgb(198, 175, 42)
RGB percentrgb(77.6%, 68.6%, 16.5%)
HSLhsl(51, 65%, 47%)
HSV / HSBhsv(51, 79%, 78%)
CMYKcmyk(0%, 12%, 79%, 22%)
CIE LABlab(71.44, -5.24, 65.62)
CIE LCHlch(71.44, 65.83, 94.57)
CIE XYZxyz(39.039, 42.835, 8.402)
Decimal13020970
Short hexNone (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 #C6AF2ARatioAAAAAAA large
Sample text9.57:1PassPassPass
Sample text2.2:1FailFailFail
#C6AF2A as text onRatioAAAAAAA large
Sample text2.2:1FailFailFail
Sample text9.57:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.