#AFA299

Closest named color: Cement (#A5A391). oklch(72.1% 0.02 57.1), rgb(175, 162, 153).

Aa

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

About this color

#AFA299 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.020 away. Black text reads best on it, at 8.45:1.

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

Values

HEX#AFA299
RGBrgb(175, 162, 153)
HSLhsl(25, 12%, 64%)
OKLCHoklch(72.1% 0.02 57.1)

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 #AFA299 2.48:1 Fails Lc -53.9 Large or bold text, headings
Black text on #AFA299 8.45:1 AAA Lc 55.2 Large or bold text, headings
#AFA299 text on white 2.48:1 Fails Lc 48.8 Large or bold text, headings
#AFA299 text on black 8.45:1 AAA Lc -53.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

    #ECE9E7

    oklch(93.6% 0.004 56.4)

  3. Step 200

    200

    #DDD8D5

    oklch(88.5% 0.007 53.4)

  4. Step 300

    300

    #C7BFB9

    oklch(80.9% 0.012 59.5)

  5. Step 400

    400 (this color)

    #AFA299

    oklch(72.1% 0.02 57.1)

  6. Step 500

    500

    #96867B

    oklch(63.1% 0.025 56.7)

  7. Step 600

    600

    #807064

    oklch(55.7% 0.027 59)

  8. Step 700

    700

    #6C5D53

    oklch(49% 0.025 55.7)

  9. Step 800

    800

    #584C44

    oklch(42.6% 0.021 55.8)

  10. Step 900

    900

    #494039

    oklch(37.8% 0.017 60.1)

  11. Step 950

    950

    #2B2522

    oklch(27% 0.011 48.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA299 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)#A6A3980.013
Deuteranopia (no green cones)#A9A5990.011
Tritanopia (no blue cones)#B3A09F0.013
Achromatopsia (no color)#A4A4A40.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA299

    #AFA299

    oklch(72.1% 0.02 57.1)

  • #9AA7B0

    #9AA7B0

    oklch(72.1% 0.02 237.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA299

    #AFA299

    oklch(72.1% 0.02 57.1)

  • #B1A09E

    #B1A09E

    oklch(72% 0.02 25.7)

  • #AAA497

    #AAA497

    oklch(72% 0.02 86.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA299

    #AFA299

    oklch(72.1% 0.02 57.1)

  • #97A9AB

    #97A9AB

    oklch(72.1% 0.02 204.8)

  • #9FA5B2

    #9FA5B2

    oklch(72.1% 0.02 265.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA299

    #AFA299

    oklch(72.1% 0.02 57.1)

  • #98A9A4

    #98A9A4

    oklch(72% 0.02 176.2)

  • #A6A2B0

    #A6A2B0

    oklch(72% 0.021 298.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA299

    #AFA299

    oklch(72.1% 0.02 57.1)

  • #9DA89E

    #9DA89E

    oklch(72% 0.019 148)

  • #9AA7B0

    #9AA7B0

    oklch(72.1% 0.02 237.9)

  • #ACA1AB

    #ACA1AB

    oklch(72.1% 0.019 328.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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