#AFB787

Closest named color: Putty (#BEAE8A). oklch(76.1% 0.066 115.7), rgb(175, 183, 135).

Aa

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

About this color

#AFB787 is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.066 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.033 away. Black text reads best on it, at 9.94:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamuted (0.066)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.94:1
White text2.11:1

Values

HEX#AFB787
RGBrgb(175, 183, 135)
HSLhsl(70, 25%, 62%)
OKLCHoklch(76.1% 0.066 115.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 #AFB787 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #AFB787 9.94:1 AAA Lc 62.6 Content text, not long reading
#AFB787 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#AFB787 text on black 9.94:1 AAA Lc -60.9 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDD

    oklch(93.7% 0.02 116)

  3. Step 200

    200

    #D8DDC1

    oklch(88.6% 0.038 115.4)

  4. Step 300

    300 (this color)

    #AFB787

    oklch(76.1% 0.066 115.7)

  5. Step 400

    400

    #9EA959

    oklch(70.8% 0.105 115.6)

  6. Step 500

    500

    #86931C

    oklch(63.2% 0.135 116.1)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252905

    oklch(26.8% 0.055 115.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB787 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)#BEB2840.023
Deuteranopia (no green cones)#BDB3890.023
Tritanopia (no blue cones)#B4B2AA0.055
Achromatopsia (no color)#B2B2B20.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB787

    #AFB787

    oklch(76.1% 0.066 115.7)

  • #B4A9D7

    #B4A9D7

    oklch(76% 0.066 295.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB787

    #AFB787

    oklch(76.1% 0.066 115.7)

  • #C4AF81

    #C4AF81

    oklch(76.1% 0.066 86.2)

  • #97BD98

    #97BD98

    oklch(76% 0.066 145.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB787

    #AFB787

    oklch(76.1% 0.066 115.7)

  • #9DB1DC

    #9DB1DC

    oklch(76% 0.066 265.3)

  • #C8A3C8

    #C8A3C8

    oklch(76% 0.066 326.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB787

    #AFB787

    oklch(76.1% 0.066 115.7)

  • #89B9D6

    #89B9D6

    oklch(76.2% 0.066 235.3)

  • #D4A0B3

    #D4A0B3

    oklch(76% 0.066 355)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB787

    #AFB787

    oklch(76.1% 0.066 115.7)

  • #7EBEC6

    #7EBEC6

    oklch(76.1% 0.066 205.8)

  • #B4A9D7

    #B4A9D7

    oklch(76% 0.066 295.7)

  • #D8A29C

    #D8A29C

    oklch(76.1% 0.065 25.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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