#AFAE87

Closest named color: Bland (#AFA88B). oklch(74.2% 0.054 106.4), rgb(175, 174, 135).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.22:1
White text2.27:1

Values

HEX#AFAE87
RGBrgb(175, 174, 135)
HSLhsl(59, 20%, 61%)
OKLCHoklch(74.2% 0.054 106.4)

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 #AFAE87 2.27:1 Fails Lc -49.7 Large or bold text, headings
Black text on #AFAE87 9.22:1 AAA Lc 59.1 Large or bold text, headings
#AFAE87 text on white 2.27:1 Fails Lc 44.9 Non-text elements, placeholder text
#AFAE87 text on black 9.22:1 AAA Lc -57.2 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

    #DADACC

    oklch(88.5% 0.019 106.8)

  4. Step 300

    300

    #C3C2AA

    oklch(80.8% 0.033 105.2)

  5. Step 400

    400 (this color)

    #AFAE87

    oklch(74.2% 0.054 106.4)

  6. Step 500

    500

    #8E8C5B

    oklch(63% 0.068 106.2)

  7. Step 600

    600

    #797641

    oklch(55.6% 0.074 105.7)

  8. Step 700

    700

    #656333

    oklch(49% 0.068 106.5)

  9. Step 800

    800

    #53512A

    oklch(42.7% 0.058 106)

  10. Step 900

    900

    #444327

    oklch(37.6% 0.044 106.6)

  11. Step 950

    950

    #282717

    oklch(26.9% 0.028 105.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAE87 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)#B5AB850.011
Deuteranopia (no green cones)#B6AD880.011
Tritanopia (no blue cones)#B5A9A30.047
Achromatopsia (no color)#ACACAC0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAE87

    #AFAE87

    oklch(74.2% 0.054 106.4)

  • #A8A7CC

    #A8A7CC

    oklch(74.2% 0.053 286.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAE87

    #AFAE87

    oklch(74.2% 0.054 106.4)

  • #BFA786

    #BFA786

    oklch(74.1% 0.053 75.6)

  • #9CB492

    #9CB492

    oklch(74.2% 0.055 136.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFAE87

    #AFAE87

    oklch(74.2% 0.054 106.4)

  • #96ADCD

    #96ADCD

    oklch(74.1% 0.053 256.7)

  • #B9A1C2

    #B9A1C2

    oklch(74.1% 0.054 316.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAE87

    #AFAE87

    oklch(74.2% 0.054 106.4)

  • #88B3C6

    #88B3C6

    oklch(74.2% 0.054 226.9)

  • #C59EB2

    #C59EB2

    oklch(74.1% 0.053 346.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAE87

    #AFAE87

    oklch(74.2% 0.054 106.4)

  • #83B6B6

    #83B6B6

    oklch(74.1% 0.054 196.1)

  • #A8A7CC

    #A8A7CC

    oklch(74.2% 0.053 286.3)

  • #CB9EA0

    #CB9EA0

    oklch(74.1% 0.054 15.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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