#AFA79B

Closest named color: Dark Gray (#A9A9A9). oklch(73.2% 0.019 78.2), rgb(175, 167, 155).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-light (73%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameDark Gray (#A9A9A9)
Black text8.82:1
White text2.37:1

Values

HEX#AFA79B
RGBrgb(175, 167, 155)
HSLhsl(36, 11%, 65%)
OKLCHoklch(73.2% 0.019 78.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 #AFA79B 2.37:1 Fails Lc -51.9 Large or bold text, headings
Black text on #AFA79B 8.82:1 AAA Lc 57.1 Large or bold text, headings
#AFA79B text on white 2.37:1 Fails Lc 46.9 Large or bold text, headings
#AFA79B text on black 8.82:1 AAA Lc -55.1 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

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EBE9E7

    oklch(93.5% 0.003 67.8)

  3. Step 200

    200

    #DBD9D4

    oklch(88.5% 0.007 88.6)

  4. Step 300

    300

    #C5C0B8

    oklch(81% 0.012 79.8)

  5. Step 400

    400 (this color)

    #AFA79B

    oklch(73.2% 0.019 78.2)

  6. Step 500

    500

    #928879

    oklch(63.1% 0.025 78.1)

  7. Step 600

    600

    #7C7262

    oklch(55.7% 0.027 79.6)

  8. Step 700

    700

    #695F51

    oklch(49.1% 0.025 76.3)

  9. Step 800

    800

    #554E42

    oklch(42.7% 0.021 81.2)

  10. Step 900

    900

    #464138

    oklch(37.7% 0.016 82.3)

  11. Step 950

    950

    #292621

    oklch(27% 0.01 80.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA79B 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)#ABA79A0.006
Deuteranopia (no green cones)#ADA99B0.006
Tritanopia (no blue cones)#B3A5A40.017
Achromatopsia (no color)#A8A8A80.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA79B

    #AFA79B

    oklch(73.2% 0.019 78.2)

  • #A1A9B5

    #A1A9B5

    oklch(73.2% 0.02 258.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA79B

    #AFA79B

    oklch(73.2% 0.019 78.2)

  • #B3A59E

    #B3A59E

    oklch(73.2% 0.019 48.4)

  • #A9A99C

    #A9A99C

    oklch(73.1% 0.018 106.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA79B

    #AFA79B

    oklch(73.2% 0.019 78.2)

  • #9CABB2

    #9CABB2

    oklch(73.2% 0.02 227.4)

  • #A7A7B4

    #A7A7B4

    oklch(73.2% 0.019 285.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA79B

    #AFA79B

    oklch(73.2% 0.019 78.2)

  • #9BACAD

    #9BACAD

    oklch(73.2% 0.019 201)

  • #ADA5B0

    #ADA5B0

    oklch(73.2% 0.018 316.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA79B

    #AFA79B

    oklch(73.2% 0.019 78.2)

  • #9DACA6

    #9DACA6

    oklch(73.1% 0.019 169.9)

  • #A1A9B5

    #A1A9B5

    oklch(73.2% 0.02 258.4)

  • #B2A4AA

    #B2A4AA

    oklch(73.2% 0.018 349.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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