#A2B017 color

#A2B017 rgb(162, 176, 23)
Shades of yellow

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
RGBrgb(162, 176, 23)
RGB percentrgb(63.5%, 69%, 9%)
HSLhsl(65, 77%, 39%)
HSV / HSBhsv(65, 87%, 69%)
CMYKcmyk(8%, 0%, 87%, 31%)
CIE LABlab(68.6, -22.05, 66.96)
CIE LCHlch(68.6, 70.49, 108.23)
CIE XYZxyz(30.581, 38.794, 6.688)
Decimal10661911
Short hexNone (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 #A2B017RatioAAAAAAA large
Sample text8.76:1PassPassPass
Sample text2.4:1FailFailFail
#A2B017 as text onRatioAAAAAAA large
Sample text2.4:1FailFailFail
Sample text8.76: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 #A2B017 looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.