#AFAFA0

Closest named color: Dark Gray (#A9A9A9). oklch(75% 0.021 106.9), rgb(175, 175, 160).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-light (75%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text9.46:1
White text2.21:1

Values

HEX#AFAFA0
RGBrgb(175, 175, 160)
HSLhsl(60, 9%, 66%)
OKLCHoklch(75% 0.021 106.9)

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 #AFAFA0 2.21:1 Fails Lc -48.5 Large or bold text, headings
Black text on #AFAFA0 9.46:1 AAA Lc 60.2 Content text, not long reading
#AFAFA0 text on white 2.21:1 Fails Lc 43.7 Non-text elements, placeholder text
#AFAFA0 text on black 9.46:1 AAA Lc -58.4 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

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #D9D9D4

    oklch(88.4% 0.007 106.5)

  4. Step 300

    300

    #C1C1B8

    oklch(80.8% 0.012 106.7)

  5. Step 400

    400 (this color)

    #AFAFA0

    oklch(75% 0.021 106.9)

  6. Step 500

    500

    #8B8B78

    oklch(63.1% 0.028 107.2)

  7. Step 600

    600

    #757561

    oklch(55.7% 0.03 107.3)

  8. Step 700

    700

    #626250

    oklch(49.1% 0.028 107.4)

  9. Step 800

    800

    #505042

    oklch(42.7% 0.022 107.3)

  10. Step 900

    900

    #424238

    oklch(37.6% 0.017 107.2)

  11. Step 950

    950

    #272721

    oklch(27.1% 0.011 107.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFA0 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)#B2AE9F0.005
Deuteranopia (no green cones)#B2AEA00.005
Tritanopia (no blue cones)#B2ADAB0.019
Achromatopsia (no color)#AEAEAE0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFA0

    #AFAFA0

    oklch(75% 0.021 106.9)

  • #ACACBB

    #ACACBB

    oklch(74.9% 0.021 285.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFA0

    #AFAFA0

    oklch(75% 0.021 106.9)

  • #B6AC9F

    #B6AC9F

    oklch(74.9% 0.022 74.6)

  • #A8B1A4

    #A8B1A4

    oklch(74.9% 0.021 135.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFA0

    #AFAFA0

    oklch(75% 0.021 106.9)

  • #A6AFBB

    #A6AFBB

    oklch(75.1% 0.02 255.6)

  • #B3AAB7

    #B3AAB7

    oklch(75% 0.021 315.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFA0

    #AFAFA0

    oklch(75% 0.021 106.9)

  • #A1B1B8

    #A1B1B8

    oklch(75% 0.021 225.8)

  • #B9A9B0

    #B9A9B0

    oklch(75.1% 0.021 349.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFA0

    #AFAFA0

    oklch(75% 0.021 106.9)

  • #9FB2B2

    #9FB2B2

    oklch(74.9% 0.021 196.7)

  • #ACACBB

    #ACACBB

    oklch(74.9% 0.021 285.9)

  • #BBA9A9

    #BBA9A9

    oklch(75% 0.021 17.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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