#A2B017 color
The hex color #A2B017 is a moderate yellow.
In the RGB color model it is made of 63.5% red, 69% green and 9% blue (162, 176, 23).
Its hue angle is 65°, with 77% saturation and 39% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 87% yellow and 31% black.
The closest named color is Citrus (#9FB70A), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.76:1).
#A2B017 color codes
| HEX | #A2B017 | |
|---|---|---|
| RGB | rgb(162, 176, 23) | |
| RGB percent | rgb(63.5%, 69%, 9%) | |
| HSL | hsl(65, 77%, 39%) | |
| HSV / HSB | hsv(65, 87%, 69%) | |
| CMYK | cmyk(8%, 0%, 87%, 31%) | |
| CIE LAB | lab(68.6, -22.05, 66.96) | |
| CIE LCH | lch(68.6, 70.49, 108.23) | |
| CIE XYZ | xyz(30.581, 38.794, 6.688) | |
| Decimal | 10661911 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2B017, 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 #A2B017 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.76:1 | Pass | Pass | Pass |
| Sample text | 2.4:1 | Fail | Fail | Fail |
| #A2B017 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.76: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 #A2B017 looks to people with the most common types of color vision deficiency.
#bda600Protanopia
no red cones#bca82aDeuteranopia
no green cones#ada596Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #a2b017; }
.text { color: #a2b017; }
.border { border: 2px solid #a2b017; }
.transparent { background-color: rgb(162 176 23 / 50%); }
.gradient { background: linear-gradient(to right, #a2b017, #56b017); }
Similar colors
#9fb70aCitrus#aabb11Leafy Woodland#afbb33Lush Bamboo#90aa0bAugustus Asparagus#aaaa00Honey and Thyme#a4a404Countryside#a4bf20Pea#8bac0fGameboy Screen
Closest common color name: Yellow Green.
Questions
- What color is #A2B017?
- #A2B017 is a moderate yellow, closest to the named color Citrus. It belongs to the yellow family of colors.
- What is the RGB value of #A2B017?
- The RGB value is 162, 176, 23: 162 red, 176 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #A2B017?
- The complementary color is #2517B0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2B017?
- Black text. Black text has a contrast ratio of 8.76:1 and white text 2.4:1. WCAG asks for at least 4.5:1 for normal text.