#AFB140 color
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 | |
|---|---|---|
| RGB | rgb(175, 177, 64) | |
| RGB percent | rgb(68.6%, 69.4%, 25.1%) | |
| HSL | hsl(61, 47%, 47%) | |
| HSV / HSB | hsv(61, 64%, 69%) | |
| CMYK | cmyk(1%, 0%, 64%, 31%) | |
| CIE LAB | lab(70.13, -15.16, 55.51) | |
| CIE LCH | lch(70.13, 57.54, 105.28) | |
| CIE XYZ | xyz(34.328, 40.929, 10.941) | |
| Decimal | 11514176 | |
| Short hex | None (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 #AFB140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.19:1 | Pass | Pass | Pass |
| Sample text | 2.29:1 | Fail | Fail | Fail |
| #AFB140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.19: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 #AFB140 looks to people with the most common types of color vision deficiency.
#beaa31Protanopia
no red cones#c0ad47Deuteranopia
no green cones#bba69aTritanopia
no blue cones#abababAchromatopsia
no color vision
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); }
Similar colors
#b6bd4aSinsemilla#afbb33Lush Bamboo#b4c04cCelery#aaaa00Honey and Thyme#afaf5ePalm#c1b23ePesto#b3a74bPickled#a4a404Countryside
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.