#AFB2A7

Closest named color: Dark Gray (#A9A9A9). oklch(75.8% 0.016 119.2), rgb(175, 178, 167).

Aa

Black text reads best on this color (9.74:1).

About this color

#AFB2A7 is a medium-light close to neutral grey. In OKLCH its lightness is 76%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.028 away. Black text reads best on it, at 9.74:1.

Hue familyNeutrals
Lightnessmedium-light (76%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text9.74:1
White text2.15:1

Values

HEX#AFB2A7
RGBrgb(175, 178, 167)
HSLhsl(76, 7%, 68%)
OKLCHoklch(75.8% 0.016 119.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #AFB2A7 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #AFB2A7 9.74:1 AAA Lc 61.6 Content text, not long reading
#AFB2A7 text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#AFB2A7 text on black 9.74:1 AAA Lc -59.9 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D8DAD6

    oklch(88.6% 0.006 128.5)

  4. Step 300

    300

    #C0C2BB

    oklch(81% 0.01 119.6)

  5. Step 400

    400 (this color)

    #AFB2A7

    oklch(75.8% 0.016 119.2)

  6. Step 500

    500

    #888B7E

    oklch(63% 0.019 117.5)

  7. Step 600

    600

    #727567

    oklch(55.6% 0.021 116.9)

  8. Step 700

    700

    #5F6356

    oklch(49.2% 0.021 121.1)

  9. Step 800

    800

    #4E5046

    oklch(42.6% 0.016 116.3)

  10. Step 900

    900

    #41433B

    oklch(37.8% 0.014 118.5)

  11. Step 950

    950

    #262723

    oklch(27% 0.007 118.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFB2A7 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B4B1A60.007
Deuteranopia (no green cones)#B3B1A70.006
Tritanopia (no blue cones)#B0B1AF0.013
Achromatopsia (no color)#B1B1B10.016

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #AFB2A7

    #AFB2A7

    oklch(75.8% 0.016 119.2)

  • #B2AEB9

    #B2AEB9

    oklch(75.7% 0.016 302.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB2A7

    #AFB2A7

    oklch(75.8% 0.016 119.2)

  • #B4B0A5

    #B4B0A5

    oklch(75.7% 0.016 90.3)

  • #AAB3AB

    #AAB3AB

    oklch(75.7% 0.015 148.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AFB2A7

    #AFB2A7

    oklch(75.8% 0.016 119.2)

  • #ACB0BB

    #ACB0BB

    oklch(75.7% 0.016 269.9)

  • #B6ADB5

    #B6ADB5

    oklch(75.8% 0.015 329.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB2A7

    #AFB2A7

    oklch(75.8% 0.016 119.2)

  • #A8B2BA

    #A8B2BA

    oklch(75.8% 0.016 241.8)

  • #BAACB0

    #BAACB0

    oklch(75.7% 0.017 358.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB2A7

    #AFB2A7

    oklch(75.8% 0.016 119.2)

  • #A6B3B6

    #A6B3B6

    oklch(75.8% 0.015 213.1)

  • #B2AEB9

    #B2AEB9

    oklch(75.7% 0.016 302.5)

  • #BAADAB

    #BAADAB

    oklch(75.8% 0.015 28)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFB2A7, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #AFB2A7 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.