#A7A371

Closest named color: Dust (#B2996E). oklch(70.6% 0.068 104.1), rgb(167, 163, 113).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.12:1
White text2.58:1

Values

HEX#A7A371
RGBrgb(167, 163, 113)
HSLhsl(56, 23%, 55%)
OKLCHoklch(70.6% 0.068 104.1)

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 #A7A371 2.58:1 Fails Lc -55.7 Large or bold text, headings
Black text on #A7A371 8.12:1 AAA Lc 53.5 Large or bold text, headings
#A7A371 text on white 2.58:1 Fails Lc 50.5 Large or bold text, headings
#A7A371 text on black 8.12:1 AAA Lc -51.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DBDAC9

    oklch(88.5% 0.023 104.1)

  4. Step 300

    300

    #C5C2A3

    oklch(80.8% 0.042 102.7)

  5. Step 400

    400 (this color)

    #A7A371

    oklch(70.6% 0.068 104.1)

  6. Step 500

    500

    #928C4B

    oklch(63.1% 0.087 103.9)

  7. Step 600

    600

    #7C762C

    oklch(55.6% 0.095 104.7)

  8. Step 700

    700

    #69631F

    oklch(49.1% 0.088 104.3)

  9. Step 800

    800

    #56511C

    oklch(42.8% 0.073 103.9)

  10. Step 900

    900

    #46431D

    oklch(37.6% 0.057 104.7)

  11. Step 950

    950

    #292712

    oklch(26.9% 0.035 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#A7A371 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)#AC9F6E0.012
Deuteranopia (no green cones)#ADA2730.010
Tritanopia (no blue cones)#AF9D960.061
Achromatopsia (no color)#A1A1A10.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7A371

    #A7A371

    oklch(70.6% 0.068 104.1)

  • #9B9BCA

    #9B9BCA

    oklch(70.6% 0.068 284.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7A371

    #A7A371

    oklch(70.6% 0.068 104.1)

  • #BA9B71

    #BA9B71

    oklch(70.7% 0.068 74.8)

  • #8FAA7F

    #8FAA7F

    oklch(70.6% 0.068 134.1)

Open the analogous palette in the generator

Split complementary

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

  • #A7A371

    #A7A371

    oklch(70.6% 0.068 104.1)

  • #83A3CB

    #83A3CB

    oklch(70.6% 0.069 254.3)

  • #B094BF

    #B094BF

    oklch(70.6% 0.069 313.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7A371

    #A7A371

    oklch(70.6% 0.068 104.1)

  • #70AAC0

    #70AAC0

    oklch(70.6% 0.068 223.9)

  • #C090AB

    #C090AB

    oklch(70.7% 0.068 344.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7A371

    #A7A371

    oklch(70.6% 0.068 104.1)

  • #6BAEAD

    #6BAEAD

    oklch(70.6% 0.068 194.5)

  • #9B9BCA

    #9B9BCA

    oklch(70.6% 0.068 284.5)

  • #C78F93

    #C78F93

    oklch(70.6% 0.068 14.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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