#A8A271

Closest named color: Dust (#B2996E). oklch(70.5% 0.067 102), rgb(168, 162, 113).

Aa

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

About this color

#A8A271 is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.067 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.027 away. Black text reads best on it, at 8.07:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.07:1
White text2.60:1

Values

HEX#A8A271
RGBrgb(168, 162, 113)
HSLhsl(53, 24%, 55%)
OKLCHoklch(70.5% 0.067 102)

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 #A8A271 2.60:1 Fails Lc -55.9 Large or bold text, headings
Black text on #A8A271 8.07:1 AAA Lc 53.2 Large or bold text, headings
#A8A271 text on white 2.60:1 Fails Lc 50.8 Large or bold text, headings
#A8A271 text on black 8.07:1 AAA Lc -51.1 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

    #C6C2A3

    oklch(80.9% 0.042 101.2)

  5. Step 400

    400 (this color)

    #A8A271

    oklch(70.5% 0.067 102)

  6. Step 500

    500

    #948B4C

    oklch(63% 0.085 101.3)

  7. Step 600

    600

    #7E752D

    oklch(55.6% 0.093 102.2)

  8. Step 700

    700

    #6B6220

    oklch(49.1% 0.086 101.5)

  9. Step 800

    800

    #57501C

    oklch(42.7% 0.072 101.7)

  10. Step 900

    900

    #47431D

    oklch(37.7% 0.056 103.3)

  11. Step 950

    950

    #2A2712

    oklch(27% 0.035 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#A8A271 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)#AB9F6E0.008
Deuteranopia (no green cones)#ADA2730.008
Tritanopia (no blue cones)#B09B950.061
Achromatopsia (no color)#A0A0A00.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A271

    #A8A271

    oklch(70.5% 0.067 102)

  • #999BC9

    #999BC9

    oklch(70.4% 0.067 282.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A271

    #A8A271

    oklch(70.5% 0.067 102)

  • #BA9A72

    #BA9A72

    oklch(70.6% 0.066 72.6)

  • #91A97E

    #91A97E

    oklch(70.5% 0.066 131.7)

Open the analogous palette in the generator

Split complementary

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

  • #A8A271

    #A8A271

    oklch(70.5% 0.067 102)

  • #82A3C9

    #82A3C9

    oklch(70.5% 0.067 252.3)

  • #AE94BF

    #AE94BF

    oklch(70.4% 0.068 311.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A271

    #A8A271

    oklch(70.5% 0.067 102)

  • #70AABE

    #70AABE

    oklch(70.5% 0.067 221.7)

  • #BE90AC

    #BE90AC

    oklch(70.6% 0.067 341.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A271

    #A8A271

    oklch(70.5% 0.067 102)

  • #6CAEAB

    #6CAEAB

    oklch(70.6% 0.068 192)

  • #999BC9

    #999BC9

    oklch(70.4% 0.067 282.6)

  • #C68F95

    #C68F95

    oklch(70.5% 0.067 11.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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