#A8A987

Closest named color: Bland (#AFA88B). oklch(72.5% 0.047 108.9), rgb(168, 169, 135).

Aa

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

About this color

#A8A987 is a medium-light, muted yellow. In OKLCH its lightness is 72%, its chroma 0.047 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.013 away. Black text reads best on it, at 8.69:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamuted (0.047)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.69:1
White text2.41:1

Values

HEX#A8A987
RGBrgb(168, 169, 135)
HSLhsl(62, 17%, 60%)
OKLCHoklch(72.5% 0.047 108.9)

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 #A8A987 2.41:1 Fails Lc -52.6 Large or bold text, headings
Black text on #A8A987 8.69:1 AAA Lc 56.4 Large or bold text, headings
#A8A987 text on white 2.41:1 Fails Lc 47.6 Large or bold text, headings
#A8A987 text on black 8.69:1 AAA Lc -54.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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACE

    oklch(88.5% 0.016 106.7)

  4. Step 300

    300

    #C2C2AD

    oklch(80.8% 0.029 107)

  5. Step 400

    400 (this color)

    #A8A987

    oklch(72.5% 0.047 108.9)

  6. Step 500

    500

    #8C8D62

    oklch(63.2% 0.06 109.1)

  7. Step 600

    600

    #767749

    oklch(55.7% 0.065 109.4)

  8. Step 700

    700

    #63643A

    oklch(49.2% 0.061 109.6)

  9. Step 800

    800

    #515130

    oklch(42.6% 0.05 108.4)

  10. Step 900

    900

    #43432B

    oklch(37.6% 0.038 108.1)

  11. Step 950

    950

    #272819

    oklch(27.1% 0.026 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#A8A987 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)#AFA6850.012
Deuteranopia (no green cones)#AFA7880.011
Tritanopia (no blue cones)#ADA5A00.042
Achromatopsia (no color)#A7A7A70.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A987

    #A8A987

    oklch(72.5% 0.047 108.9)

  • #A5A2C3

    #A5A2C3

    oklch(72.6% 0.048 289.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A987

    #A8A987

    oklch(72.5% 0.047 108.9)

  • #B6A385

    #B6A385

    oklch(72.4% 0.047 79.1)

  • #98AE91

    #98AE91

    oklch(72.6% 0.048 138.2)

Open the analogous palette in the generator

Split complementary

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

  • #A8A987

    #A8A987

    oklch(72.5% 0.047 108.9)

  • #95A7C4

    #95A7C4

    oklch(72.4% 0.047 259.9)

  • #B39DB9

    #B39DB9

    oklch(72.4% 0.047 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A987

    #A8A987

    oklch(72.5% 0.047 108.9)

  • #88ACBE

    #88ACBE

    oklch(72.4% 0.047 229.8)

  • #BE9BAB

    #BE9BAB

    oklch(72.6% 0.047 349.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A987

    #A8A987

    oklch(72.5% 0.047 108.9)

  • #84B0B1

    #84B0B1

    oklch(72.6% 0.047 197.9)

  • #A5A2C3

    #A5A2C3

    oklch(72.6% 0.048 289.3)

  • #C29B9A

    #C29B9A

    oklch(72.5% 0.047 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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