#AFAC87

Closest named color: Bland (#AFA88B). oklch(73.7% 0.051 103.7), rgb(175, 172, 135).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.051)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.07:1
White text2.31:1

Values

HEX#AFAC87
RGBrgb(175, 172, 135)
HSLhsl(56, 20%, 61%)
OKLCHoklch(73.7% 0.051 103.7)

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 #AFAC87 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #AFAC87 9.07:1 AAA Lc 58.3 Large or bold text, headings
#AFAC87 text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#AFAC87 text on black 9.07:1 AAA Lc -56.4 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

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DBDACD

    oklch(88.6% 0.018 103.2)

  4. Step 300

    300

    #C4C2AB

    oklch(80.9% 0.032 103)

  5. Step 400

    400 (this color)

    #AFAC87

    oklch(73.7% 0.051 103.7)

  6. Step 500

    500

    #908C5D

    oklch(63.2% 0.065 104)

  7. Step 600

    600

    #7A7543

    oklch(55.5% 0.07 103.4)

  8. Step 700

    700

    #676334

    oklch(49.2% 0.067 104.3)

  9. Step 800

    800

    #54502C

    oklch(42.6% 0.054 102.9)

  10. Step 900

    900

    #454328

    oklch(37.7% 0.042 104.6)

  11. Step 950

    950

    #292718

    oklch(27% 0.026 101.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFAC87 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)#B3A9850.009
Deuteranopia (no green cones)#B4AB880.008
Tritanopia (no blue cones)#B5A7A20.046
Achromatopsia (no color)#AAAAAA0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAC87

    #AFAC87

    oklch(73.7% 0.051 103.7)

  • #A5A6CA

    #A5A6CA

    oklch(73.7% 0.052 283.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAC87

    #AFAC87

    oklch(73.7% 0.051 103.7)

  • #BEA687

    #BEA687

    oklch(73.8% 0.051 74)

  • #9DB191

    #9DB191

    oklch(73.6% 0.05 133.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFAC87

    #AFAC87

    oklch(73.7% 0.051 103.7)

  • #94ACCA

    #94ACCA

    oklch(73.6% 0.051 254.1)

  • #B6A1C1

    #B6A1C1

    oklch(73.8% 0.051 314.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAC87

    #AFAC87

    oklch(73.7% 0.051 103.7)

  • #87B2C2

    #87B2C2

    oklch(73.8% 0.051 222.8)

  • #C29EB2

    #C29EB2

    oklch(73.8% 0.05 343.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAC87

    #AFAC87

    oklch(73.7% 0.051 103.7)

  • #84B5B3

    #84B5B3

    oklch(73.8% 0.052 192.9)

  • #A5A6CA

    #A5A6CA

    oklch(73.7% 0.052 283.8)

  • #C89DA0

    #C89DA0

    oklch(73.6% 0.051 13.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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