#AFB523 color
The hex color #AFB523 is a moderate yellow.
In the RGB color model it is made of 68.6% red, 71% green and 13.7% blue (175, 181, 35).
Its hue angle is 62°, with 68% saturation and 42% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 81% yellow and 29% black.
The closest named color is Lush Bamboo (#AFBB33), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.46:1).
#AFB523 color codes
| HEX | #AFB523 | |
|---|---|---|
| RGB | rgb(175, 181, 35) | |
| RGB percent | rgb(68.6%, 71%, 13.7%) | |
| HSL | hsl(62, 68%, 42%) | |
| HSV / HSB | hsv(62, 81%, 71%) | |
| CMYK | cmyk(3%, 0%, 81%, 29%) | |
| CIE LAB | lab(71.07, -18.59, 66.58) | |
| CIE LCH | lch(71.07, 69.13, 105.6) | |
| CIE XYZ | xyz(34.508, 42.284, 7.934) | |
| Decimal | 11515171 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB523, 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 #AFB523 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.46:1 | Pass | Pass | Pass |
| Sample text | 2.22:1 | Fail | Fail | Fail |
| #AFB523 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.46: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 #AFB523 looks to people with the most common types of color vision deficiency.
#c3ac00Protanopia
no red cones#c4b031Deuteranopia
no green cones#bba99bTritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #afb523; }
.text { color: #afb523; }
.border { border: 2px solid #afb523; }
.transparent { background-color: rgb(175 181 35 / 50%); }
.gradient { background: linear-gradient(to right, #afb523, #66b523); }
Similar colors
#afbb33Lush Bamboo#aabb11Leafy Woodland#aaaa00Honey and Thyme#b6bd4aSinsemilla#9fb70aCitrus#b4c04cCelery#acc326Sour Lime#a4bf20Pea
Closest common color name: Dark Khaki.
Questions
- What color is #AFB523?
- #AFB523 is a moderate yellow, closest to the named color Lush Bamboo. It belongs to the yellow family of colors.
- What is the RGB value of #AFB523?
- The RGB value is 175, 181, 35: 175 red, 181 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #AFB523?
- The complementary color is #2923B5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB523?
- Black text. Black text has a contrast ratio of 9.46:1 and white text 2.22:1. WCAG asks for at least 4.5:1 for normal text.