#AFB140 color

#AFB140 rgb(175, 177, 64)
Shades of yellow

The hex color #AFB140 is a desaturated yellow.

In the RGB color model it is made of 68.6% red, 69.4% green and 25.1% blue (175, 177, 64).

Its hue angle is 61°, with 47% saturation and 47% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 64% yellow and 31% black.

The closest named color is Sinsemilla (#B6BD4A), a difference of 3.3 ΔE, a small difference.

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

#AFB140 color codes

HEX#AFB140
RGBrgb(175, 177, 64)
RGB percentrgb(68.6%, 69.4%, 25.1%)
HSLhsl(61, 47%, 47%)
HSV / HSBhsv(61, 64%, 69%)
CMYKcmyk(1%, 0%, 64%, 31%)
CIE LABlab(70.13, -15.16, 55.51)
CIE LCHlch(70.13, 57.54, 105.28)
CIE XYZxyz(34.328, 40.929, 10.941)
Decimal11514176
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AFB140, 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 #AFB140RatioAAAAAAA large
Sample text9.19:1PassPassPass
Sample text2.29:1FailFailFail
#AFB140 as text onRatioAAAAAAA large
Sample text2.29:1FailFailFail
Sample text9.19: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 #AFB140 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #afb140; }
.text { color: #afb140; }
.border { border: 2px solid #afb140; }
.transparent { background-color: rgb(175 177 64 / 50%); }
.gradient { background: linear-gradient(to right, #afb140, #76b140); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Khaki.

Questions

What color is #AFB140?
#AFB140 is a desaturated yellow, closest to the named color Sinsemilla. It belongs to the yellow family of colors.
What is the RGB value of #AFB140?
The RGB value is 175, 177, 64: 175 red, 177 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #AFB140?
The complementary color is #4240B1, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFB140?
Black text. Black text has a contrast ratio of 9.19:1 and white text 2.29:1. WCAG asks for at least 4.5:1 for normal text.