#B2B7AF color

#B2B7AF rgb(178, 183, 175)
Shades of gray

The hex color #B2B7AF is a light gray.

In the RGB color model it is made of 69.8% red, 71.8% green and 68.6% blue (178, 183, 175).

Its hue angle is 98°, with 5% saturation and 70% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 4% yellow and 28% black.

The closest named color is Magnetic (#B2B5AF), a difference of 1.5 ΔE, which is barely visible.

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

#B2B7AF color codes

HEX#B2B7AF
RGBrgb(178, 183, 175)
RGB percentrgb(69.8%, 71.8%, 68.6%)
HSLhsl(98, 5%, 70%)
HSV / HSBhsv(98, 4%, 72%)
CMYKcmyk(3%, 0%, 4%, 28%)
CIE LABlab(73.82, -3.24, 3.45)
CIE LCHlch(73.82, 4.73, 133.13)
CIE XYZxyz(43.03, 46.427, 47.243)
Decimal11712431
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #b2b7af; }
.text { color: #b2b7af; }
.border { border: 2px solid #b2b7af; }
.transparent { background-color: rgb(178 183 175 / 50%); }
.gradient { background: linear-gradient(to right, #b2b7af, #afb7b0); }
Background
Text color
Border

Similar colors

Questions

What color is #B2B7AF?
#B2B7AF is a light gray, closest to the named color Magnetic. It belongs to the gray family of colors.
What is the RGB value of #B2B7AF?
The RGB value is 178, 183, 175: 178 red, 183 green and 175 blue on a 0 to 255 scale.
What is the complementary color of #B2B7AF?
The complementary color is #B4AFB7, found by rotating the hue 180° on the color wheel.
Is black or white text better on #B2B7AF?
Black text. Black text has a contrast ratio of 10.29:1 and white text 2.04:1. WCAG asks for at least 4.5:1 for normal text.