#A8A171

Closest named color: Dust (#B2996E). oklch(70.3% 0.066 100.9), rgb(168, 161, 113).

Aa

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

About this color

#A8A171 is a medium-light, muted yellow. In OKLCH its lightness is 70%, its chroma 0.066 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.024 away. Black text reads best on it, at 8.00:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.00:1
White text2.62:1

Values

HEX#A8A171
RGBrgb(168, 161, 113)
HSLhsl(52, 24%, 55%)
OKLCHoklch(70.3% 0.066 100.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 #A8A171 2.62:1 Fails Lc -56.3 Large or bold text, headings
Black text on #A8A171 8.00:1 AAA Lc 52.8 Large or bold text, headings
#A8A171 text on white 2.62:1 Fails Lc 51.2 Large or bold text, headings
#A8A171 text on black 8.00:1 AAA Lc -50.7 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC9

    oklch(88.5% 0.023 101.4)

  4. Step 300

    300

    #C6C2A4

    oklch(80.9% 0.041 101)

  5. Step 400

    400 (this color)

    #A8A171

    oklch(70.3% 0.066 100.9)

  6. Step 500

    500

    #948B4C

    oklch(63% 0.085 101.3)

  7. Step 600

    600

    #7F752E

    oklch(55.7% 0.092 101.3)

  8. Step 700

    700

    #6B6221

    oklch(49.1% 0.085 101.4)

  9. Step 800

    800

    #57501D

    oklch(42.7% 0.071 101.5)

  10. Step 900

    900

    #48421E

    oklch(37.6% 0.054 100)

  11. Step 950

    950

    #2A2712

    oklch(27% 0.035 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#A8A171 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)#AA9E6E0.008
Deuteranopia (no green cones)#ACA1730.007
Tritanopia (no blue cones)#B09A950.061
Achromatopsia (no color)#A0A0A00.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A171

    #A8A171

    oklch(70.3% 0.066 100.9)

  • #979BC8

    #979BC8

    oklch(70.2% 0.066 280.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A171

    #A8A171

    oklch(70.3% 0.066 100.9)

  • #BA9972

    #BA9972

    oklch(70.4% 0.066 71.1)

  • #91A87D

    #91A87D

    oklch(70.2% 0.066 130.8)

Open the analogous palette in the generator

Split complementary

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

  • #A8A171

    #A8A171

    oklch(70.3% 0.066 100.9)

  • #81A3C8

    #81A3C8

    oklch(70.4% 0.066 250.9)

  • #AD94BE

    #AD94BE

    oklch(70.3% 0.066 311.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A171

    #A8A171

    oklch(70.3% 0.066 100.9)

  • #70A9BC

    #70A9BC

    oklch(70.2% 0.066 220.9)

  • #BC90AC

    #BC90AC

    oklch(70.4% 0.065 340.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A171

    #A8A171

    oklch(70.3% 0.066 100.9)

  • #6DADA9

    #6DADA9

    oklch(70.3% 0.066 190.7)

  • #979BC8

    #979BC8

    oklch(70.2% 0.066 280.6)

  • #C58F95

    #C58F95

    oklch(70.4% 0.066 11.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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