#AF9D27 color

#AF9D27 rgb(175, 157, 39)
Shades of yellow

The hex color #AF9D27 is a moderate yellow.

In the RGB color model it is made of 68.6% red, 61.6% green and 15.3% blue (175, 157, 39).

Its hue angle is 52°, with 64% saturation and 42% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 78% yellow and 31% black.

The closest named color is Lucky (#AB9A1C), a difference of 1.2 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 7.67:1).

#AF9D27 color codes

HEX#AF9D27
RGBrgb(175, 157, 39)
RGB percentrgb(68.6%, 61.6%, 15.3%)
HSLhsl(52, 64%, 42%)
HSV / HSBhsv(52, 78%, 69%)
CMYKcmyk(0%, 10%, 78%, 31%)
CIE LABlab(64.46, -6, 59.48)
CIE LCHlch(64.46, 59.78, 95.76)
CIE XYZxyz(30.104, 33.376, 6.776)
Decimal11509031
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AF9D27, 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 #AF9D27RatioAAAAAAA large
Sample text7.67:1PassPassPass
Sample text2.74:1FailFailFail
#AF9D27 as text onRatioAAAAAAA large
Sample text2.74:1FailFailFail
Sample text7.67: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 #AF9D27 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #af9d27; }
.text { color: #af9d27; }
.border { border: 2px solid #af9d27; }
.transparent { background-color: rgb(175 157 39 / 50%); }
.gradient { background: linear-gradient(to right, #af9d27, #7daf27); }
Background
Text color
Border

Similar colors

Closest common color name: Metallic Gold.

Questions

What color is #AF9D27?
#AF9D27 is a moderate yellow, closest to the named color Lucky. It belongs to the yellow family of colors.
What is the RGB value of #AF9D27?
The RGB value is 175, 157, 39: 175 red, 157 green and 39 blue on a 0 to 255 scale.
What is the complementary color of #AF9D27?
The complementary color is #2739AF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AF9D27?
Black text. Black text has a contrast ratio of 7.67:1 and white text 2.74:1. WCAG asks for at least 4.5:1 for normal text.