#AFAD87

Closest named color: Bland (#AFA88B). oklch(73.9% 0.052 105.1), rgb(175, 173, 135).

Aa

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

About this color

#AFAD87 is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.052 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.017 away. Black text reads best on it, at 9.15:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.15:1
White text2.29:1

Values

HEX#AFAD87
RGBrgb(175, 173, 135)
HSLhsl(57, 20%, 61%)
OKLCHoklch(73.9% 0.052 105.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 #AFAD87 2.29:1 Fails Lc -50.1 Large or bold text, headings
Black text on #AFAD87 9.15:1 AAA Lc 58.7 Large or bold text, headings
#AFAD87 text on white 2.29:1 Fails Lc 45.3 Large or bold text, headings
#AFAD87 text on black 9.15:1 AAA Lc -56.8 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

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACD

    oklch(88.5% 0.018 106.8)

  4. Step 300

    300

    #C3C2AA

    oklch(80.8% 0.033 105.2)

  5. Step 400

    400 (this color)

    #AFAD87

    oklch(73.9% 0.052 105.1)

  6. Step 500

    500

    #8F8C5C

    oklch(63.1% 0.067 105.1)

  7. Step 600

    600

    #797642

    oklch(55.6% 0.072 105.6)

  8. Step 700

    700

    #666334

    oklch(49.1% 0.067 105.4)

  9. Step 800

    800

    #53512B

    oklch(42.7% 0.056 105.9)

  10. Step 900

    900

    #454327

    oklch(37.7% 0.044 104.8)

  11. Step 950

    950

    #282717

    oklch(26.9% 0.028 105.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAD87 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)#B4AA850.010
Deuteranopia (no green cones)#B5AC880.009
Tritanopia (no blue cones)#B5A8A30.047
Achromatopsia (no color)#ABABAB0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAD87

    #AFAD87

    oklch(73.9% 0.052 105.1)

  • #A7A7CB

    #A7A7CB

    oklch(74.1% 0.052 285.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAD87

    #AFAD87

    oklch(73.9% 0.052 105.1)

  • #BEA786

    #BEA786

    oklch(74% 0.053 76.7)

  • #9DB392

    #9DB392

    oklch(74.1% 0.052 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAD87

    #AFAD87

    oklch(73.9% 0.052 105.1)

  • #95ADCC

    #95ADCC

    oklch(74% 0.052 254.9)

  • #B7A1C2

    #B7A1C2

    oklch(73.9% 0.053 314.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAD87

    #AFAD87

    oklch(73.9% 0.052 105.1)

  • #87B2C4

    #87B2C4

    oklch(73.9% 0.053 225.6)

  • #C49EB2

    #C49EB2

    oklch(74% 0.052 345.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAD87

    #AFAD87

    oklch(73.9% 0.052 105.1)

  • #84B5B5

    #84B5B5

    oklch(73.9% 0.052 196.1)

  • #A7A7CB

    #A7A7CB

    oklch(74.1% 0.052 285.1)

  • #CA9EA0

    #CA9EA0

    oklch(74% 0.052 15.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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