#AFB2A2

Closest named color: Dark Gray (#A9A9A9). oklch(75.7% 0.023 115.6), rgb(175, 178, 162).

Aa

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

About this color

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

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

Values

HEX#AFB2A2
RGBrgb(175, 178, 162)
HSLhsl(71, 9%, 67%)
OKLCHoklch(75.7% 0.023 115.6)

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 #AFB2A2 2.16:1 Fails Lc -47.2 Large or bold text, headings
Black text on #AFB2A2 9.71:1 AAA Lc 61.4 Content text, not long reading
#AFB2A2 text on white 2.16:1 Fails Lc 42.5 Non-text elements, placeholder text
#AFB2A2 text on black 9.71:1 AAA Lc -59.7 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

    #E9EAE7

    oklch(93.5% 0.004 121.6)

  3. Step 200

    200

    #D9DAD4

    oklch(88.6% 0.008 114.2)

  4. Step 300

    300

    #C0C2B8

    oklch(81% 0.014 115.9)

  5. Step 400

    400 (this color)

    #AFB2A2

    oklch(75.7% 0.023 115.6)

  6. Step 500

    500

    #888C78

    oklch(63.1% 0.029 116.4)

  7. Step 600

    600

    #727661

    oklch(55.6% 0.032 116.2)

  8. Step 700

    700

    #606350

    oklch(49.1% 0.029 114.8)

  9. Step 800

    800

    #4E5142

    oklch(42.8% 0.024 116.6)

  10. Step 900

    900

    #414338

    oklch(37.7% 0.018 115.7)

  11. Step 950

    950

    #262721

    oklch(27% 0.011 114.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFB2A2 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)#B5B0A10.009
Deuteranopia (no green cones)#B4B0A30.009
Tritanopia (no blue cones)#B1B0AD0.019
Achromatopsia (no color)#B0B0B00.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB2A2

    #AFB2A2

    oklch(75.7% 0.023 115.6)

  • #B1ADBD

    #B1ADBD

    oklch(75.6% 0.023 297.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB2A2

    #AFB2A2

    oklch(75.7% 0.023 115.6)

  • #B6AFA0

    #B6AFA0

    oklch(75.6% 0.022 86)

  • #A7B4A8

    #A7B4A8

    oklch(75.6% 0.022 147.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB2A2

    #AFB2A2

    oklch(75.7% 0.023 115.6)

  • #A9B0BF

    #A9B0BF

    oklch(75.6% 0.023 265.7)

  • #B8ABB8

    #B8ABB8

    oklch(75.6% 0.023 325.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB2A2

    #AFB2A2

    oklch(75.7% 0.023 115.6)

  • #A3B3BD

    #A3B3BD

    oklch(75.7% 0.023 235.1)

  • #BDAAB0

    #BDAAB0

    oklch(75.6% 0.023 356.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB2A2

    #AFB2A2

    oklch(75.7% 0.023 115.6)

  • #A0B4B7

    #A0B4B7

    oklch(75.6% 0.023 207.6)

  • #B1ADBD

    #B1ADBD

    oklch(75.6% 0.023 297.3)

  • #BEABA9

    #BEABA9

    oklch(75.7% 0.022 24.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #AFB2A2 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.