#AFA498

Closest named color: Cement (#A5A391). oklch(72.5% 0.021 69.9), rgb(175, 164, 152).

Aa

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

About this color

#AFA498 is a medium-light close to neutral grey. In OKLCH its lightness is 72%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Cement (#A5A391), ΔE 0.018 away. Black text reads best on it, at 8.58:1.

Hue familyNeutrals
Lightnessmedium-light (72%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameCement (#A5A391)
Black text8.58:1
White text2.44:1

Values

HEX#AFA498
RGBrgb(175, 164, 152)
HSLhsl(31, 13%, 64%)
OKLCHoklch(72.5% 0.021 69.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 #AFA498 2.44:1 Fails Lc -53.2 Large or bold text, headings
Black text on #AFA498 8.58:1 AAA Lc 55.9 Large or bold text, headings
#AFA498 text on white 2.44:1 Fails Lc 48.1 Large or bold text, headings
#AFA498 text on black 8.58:1 AAA Lc -53.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

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EBE9E7

    oklch(93.5% 0.003 67.8)

  3. Step 200

    200

    #DCD8D4

    oklch(88.4% 0.007 67.7)

  4. Step 300

    300

    #C6BFB8

    oklch(80.8% 0.013 67.6)

  5. Step 400

    400 (this color)

    #AFA498

    oklch(72.5% 0.021 69.9)

  6. Step 500

    500

    #948778

    oklch(63.1% 0.027 71.3)

  7. Step 600

    600

    #7F7161

    oklch(55.7% 0.03 70.9)

  8. Step 700

    700

    #6B5E50

    oklch(49% 0.027 69.2)

  9. Step 800

    800

    #574D42

    oklch(42.7% 0.022 69.8)

  10. Step 900

    900

    #484038

    oklch(37.7% 0.017 67.3)

  11. Step 950

    950

    #2A2621

    oklch(27.1% 0.011 73.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA498 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)#A8A4970.010
Deuteranopia (no green cones)#ABA7980.010
Tritanopia (no blue cones)#B4A1A10.019
Achromatopsia (no color)#A6A6A60.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA498

    #AFA498

    oklch(72.5% 0.021 69.9)

  • #9CA7B3

    #9CA7B3

    oklch(72.3% 0.021 250.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA498

    #AFA498

    oklch(72.5% 0.021 69.9)

  • #B3A29C

    #B3A29C

    oklch(72.5% 0.022 40.5)

  • #A9A798

    #A9A798

    oklch(72.6% 0.021 100.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA498

    #AFA498

    oklch(72.5% 0.021 69.9)

  • #98A9AF

    #98A9AF

    oklch(72.3% 0.021 221)

  • #A3A5B4

    #A3A5B4

    oklch(72.5% 0.022 279.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA498

    #AFA498

    oklch(72.5% 0.021 69.9)

  • #98ABA9

    #98ABA9

    oklch(72.6% 0.021 189)

  • #AAA3B0

    #AAA3B0

    oklch(72.5% 0.02 309.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA498

    #AFA498

    oklch(72.5% 0.021 69.9)

  • #9BAAA1

    #9BAAA1

    oklch(72.4% 0.021 159.5)

  • #9CA7B3

    #9CA7B3

    oklch(72.3% 0.021 250.5)

  • #B0A1AA

    #B0A1AA

    oklch(72.5% 0.021 340.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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