#AFA397

Closest named color: Cement (#A5A391). oklch(72.2% 0.022 67.5), rgb(175, 163, 151).

Aa

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

About this color

#AFA397 is a medium-light close to neutral grey. In OKLCH its lightness is 72%, its chroma 0.022. 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.50:1.

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

Values

HEX#AFA397
RGBrgb(175, 163, 151)
HSLhsl(30, 13%, 64%)
OKLCHoklch(72.2% 0.022 67.5)

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 #AFA397 2.46:1 Fails Lc -53.6 Large or bold text, headings
Black text on #AFA397 8.50:1 AAA Lc 55.5 Large or bold text, headings
#AFA397 text on white 2.46:1 Fails Lc 48.5 Large or bold text, headings
#AFA397 text on black 8.50:1 AAA Lc -53.5 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

    #ECE9E7

    oklch(93.6% 0.004 56.4)

  3. Step 200

    200

    #DDD8D4

    oklch(88.5% 0.008 61.4)

  4. Step 300

    300

    #C7BFB7

    oklch(80.9% 0.014 67.6)

  5. Step 400

    400 (this color)

    #AFA397

    oklch(72.2% 0.022 67.5)

  6. Step 500

    500

    #958778

    oklch(63.2% 0.028 69.2)

  7. Step 600

    600

    #807060

    oklch(55.6% 0.031 67.1)

  8. Step 700

    700

    #6C5E50

    oklch(49.1% 0.028 67.1)

  9. Step 800

    800

    #584D41

    oklch(42.8% 0.024 69.5)

  10. Step 900

    900

    #484037

    oklch(37.7% 0.019 70.5)

  11. Step 950

    950

    #2A2520

    oklch(26.8% 0.012 67.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA397 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)#A7A3960.012
Deuteranopia (no green cones)#AAA6970.010
Tritanopia (no blue cones)#B4A0A00.019
Achromatopsia (no color)#A5A5A50.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA397

    #AFA397

    oklch(72.2% 0.022 67.5)

  • #9BA7B3

    #9BA7B3

    oklch(72.3% 0.022 248.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA397

    #AFA397

    oklch(72.2% 0.022 67.5)

  • #B2A19C

    #B2A19C

    oklch(72.2% 0.021 37)

  • #A9A696

    #A9A696

    oklch(72.3% 0.023 98.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA397

    #AFA397

    oklch(72.2% 0.022 67.5)

  • #97A9AE

    #97A9AE

    oklch(72.2% 0.021 216.3)

  • #A2A4B3

    #A2A4B3

    oklch(72.2% 0.022 279.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA397

    #AFA397

    oklch(72.2% 0.022 67.5)

  • #97AAA8

    #97AAA8

    oklch(72.3% 0.021 189)

  • #A9A2B0

    #A9A2B0

    oklch(72.2% 0.021 308.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA397

    #AFA397

    oklch(72.2% 0.022 67.5)

  • #9BAAA0

    #9BAAA0

    oklch(72.3% 0.022 156.6)

  • #9BA7B3

    #9BA7B3

    oklch(72.3% 0.022 248.1)

  • #AFA0AA

    #AFA0AA

    oklch(72.2% 0.022 337.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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