#AFA399

Closest named color: Cement (#A5A391). oklch(72.3% 0.02 62.3), rgb(175, 163, 153).

Aa

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

About this color

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

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

Values

HEX#AFA399
RGBrgb(175, 163, 153)
HSLhsl(27, 12%, 64%)
OKLCHoklch(72.3% 0.02 62.3)

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

    #C7BFB9

    oklch(80.9% 0.012 59.5)

  5. Step 400

    400 (this color)

    #AFA399

    oklch(72.3% 0.02 62.3)

  6. Step 500

    500

    #95867A

    oklch(63% 0.025 61)

  7. Step 600

    600

    #807063

    oklch(55.6% 0.028 61.3)

  8. Step 700

    700

    #6C5E52

    oklch(49.2% 0.026 62.8)

  9. Step 800

    800

    #584D43

    oklch(42.8% 0.022 64.5)

  10. Step 900

    900

    #484039

    oklch(37.7% 0.016 63.5)

  11. Step 950

    950

    #2A2521

    oklch(26.9% 0.01 61)

Export this scale for Tailwind in the Tailwind colors tool

#AFA399 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)#A7A3980.012
Deuteranopia (no green cones)#AAA6990.010
Tritanopia (no blue cones)#B3A1A00.014
Achromatopsia (no color)#A5A5A50.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA399

    #AFA399

    oklch(72.3% 0.02 62.3)

  • #9BA7B1

    #9BA7B1

    oklch(72.2% 0.02 243.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA399

    #AFA399

    oklch(72.3% 0.02 62.3)

  • #B2A19E

    #B2A19E

    oklch(72.3% 0.02 29.6)

  • #AAA598

    #AAA598

    oklch(72.2% 0.019 89.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA399

    #AFA399

    oklch(72.3% 0.02 62.3)

  • #98A9AD

    #98A9AD

    oklch(72.3% 0.02 213.4)

  • #A1A5B2

    #A1A5B2

    oklch(72.3% 0.019 272.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA399

    #AFA399

    oklch(72.3% 0.02 62.3)

  • #99AAA6

    #99AAA6

    oklch(72.4% 0.02 180)

  • #A8A3B0

    #A8A3B0

    oklch(72.4% 0.019 303.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA399

    #AFA399

    oklch(72.3% 0.02 62.3)

  • #9DA99F

    #9DA99F

    oklch(72.2% 0.02 150.4)

  • #9BA7B1

    #9BA7B1

    oklch(72.2% 0.02 243.1)

  • #ADA1AB

    #ADA1AB

    oklch(72.2% 0.02 331.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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