#AFA298

Closest named color: Cement (#A5A391). oklch(72% 0.021 60.1), rgb(175, 162, 152).

Aa

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

About this color

#AFA298 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.019 away. Black text reads best on it, at 8.44:1.

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

Values

HEX#AFA298
RGBrgb(175, 162, 152)
HSLhsl(26, 13%, 64%)
OKLCHoklch(72% 0.021 60.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 #AFA298 2.48:1 Fails Lc -53.9 Large or bold text, headings
Black text on #AFA298 8.44:1 AAA Lc 55.1 Large or bold text, headings
#AFA298 text on white 2.48:1 Fails Lc 48.9 Large or bold text, headings
#AFA298 text on black 8.44: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

    #DDD8D4

    oklch(88.5% 0.008 61.4)

  4. Step 300

    300

    #C7BFB8

    oklch(80.9% 0.013 63.9)

  5. Step 400

    400 (this color)

    #AFA298

    oklch(72% 0.021 60.1)

  6. Step 500

    500

    #96867A

    oklch(63.1% 0.026 59.2)

  7. Step 600

    600

    #807063

    oklch(55.6% 0.028 61.3)

  8. Step 700

    700

    #6D5D52

    oklch(49.1% 0.027 56.5)

  9. Step 800

    800

    #584C43

    oklch(42.6% 0.022 59)

  10. Step 900

    900

    #494038

    oklch(37.8% 0.018 63.9)

  11. Step 950

    950

    #2B2521

    oklch(27% 0.012 55.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA298 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)#A6A3970.013
Deuteranopia (no green cones)#A9A5980.011
Tritanopia (no blue cones)#B49F9F0.017
Achromatopsia (no color)#A4A4A40.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA298

    #AFA298

    oklch(72% 0.021 60.1)

  • #9AA7B1

    #9AA7B1

    oklch(72.1% 0.021 240.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA298

    #AFA298

    oklch(72% 0.021 60.1)

  • #B2A09D

    #B2A09D

    oklch(72% 0.022 29)

  • #AAA496

    #AAA496

    oklch(72% 0.021 87.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA298

    #AFA298

    oklch(72% 0.021 60.1)

  • #97A9AC

    #97A9AC

    oklch(72.2% 0.021 208.7)

  • #9FA4B2

    #9FA4B2

    oklch(71.9% 0.021 270.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA298

    #AFA298

    oklch(72% 0.021 60.1)

  • #97A9A5

    #97A9A5

    oklch(72% 0.021 180.9)

  • #A6A2B0

    #A6A2B0

    oklch(72% 0.021 298.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA298

    #AFA298

    oklch(72% 0.021 60.1)

  • #9CA99E

    #9CA99E

    oklch(72.1% 0.021 150)

  • #9AA7B1

    #9AA7B1

    oklch(72.1% 0.021 240.8)

  • #ADA0AB

    #ADA0AB

    oklch(72% 0.022 330.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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