#AFA87A

Closest named color: Stone (#ADA587). oklch(72.6% 0.063 100.5), rgb(175, 168, 122).

Aa

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

About this color

#AFA87A is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.063 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.022 away. Black text reads best on it, at 8.70:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.70:1
White text2.41:1

Values

HEX#AFA87A
RGBrgb(175, 168, 122)
HSLhsl(52, 25%, 58%)
OKLCHoklch(72.6% 0.063 100.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 #AFA87A 2.41:1 Fails Lc -52.5 Large or bold text, headings
Black text on #AFA87A 8.70:1 AAA Lc 56.5 Large or bold text, headings
#AFA87A text on white 2.41:1 Fails Lc 47.5 Large or bold text, headings
#AFA87A text on black 8.70:1 AAA Lc -54.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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DCDACA

    oklch(88.6% 0.022 101)

  4. Step 300

    300

    #C6C2A5

    oklch(81% 0.04 100.8)

  5. Step 400

    400 (this color)

    #AFA87A

    oklch(72.6% 0.063 100.5)

  6. Step 500

    500

    #948B50

    oklch(63.1% 0.08 100.7)

  7. Step 600

    600

    #7F7533

    oklch(55.7% 0.088 100.8)

  8. Step 700

    700

    #6B6225

    oklch(49.2% 0.082 100.9)

  9. Step 800

    800

    #575020

    oklch(42.7% 0.068 101.1)

  10. Step 900

    900

    #484220

    oklch(37.6% 0.052 99.5)

  11. Step 950

    950

    #2A2713

    oklch(27% 0.034 100.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA87A 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)#B1A5770.008
Deuteranopia (no green cones)#B3A87C0.007
Tritanopia (no blue cones)#B7A29C0.057
Achromatopsia (no color)#A7A7A70.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA87A

    #AFA87A

    oklch(72.6% 0.063 100.5)

  • #9EA3CE

    #9EA3CE

    oklch(72.7% 0.063 279.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA87A

    #AFA87A

    oklch(72.6% 0.063 100.5)

  • #C0A07B

    #C0A07B

    oklch(72.5% 0.063 70.6)

  • #99AF85

    #99AF85

    oklch(72.6% 0.064 130.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA87A

    #AFA87A

    oklch(72.6% 0.063 100.5)

  • #89AACD

    #89AACD

    oklch(72.6% 0.063 250.2)

  • #B39CC4

    #B39CC4

    oklch(72.6% 0.062 310.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA87A

    #AFA87A

    oklch(72.6% 0.063 100.5)

  • #79B0C2

    #79B0C2

    oklch(72.5% 0.063 220.4)

  • #C297B3

    #C297B3

    oklch(72.5% 0.064 339.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA87A

    #AFA87A

    oklch(72.6% 0.063 100.5)

  • #77B4AF

    #77B4AF

    oklch(72.7% 0.063 189.3)

  • #9EA3CE

    #9EA3CE

    oklch(72.7% 0.063 279.5)

  • #CB979D

    #CB979D

    oklch(72.7% 0.063 11.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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