#A7AF97

Closest named color: Bland (#AFA88B). oklch(74.1% 0.035 122.3), rgb(167, 175, 151).

Aa

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

About this color

#A7AF97 is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.035 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.021 away. Black text reads best on it, at 9.22:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.035)
Temperaturein between
Nearest nameBland (#AFA88B)
Black text9.22:1
White text2.27:1

Values

HEX#A7AF97
RGBrgb(167, 175, 151)
HSLhsl(80, 13%, 64%)
OKLCHoklch(74.1% 0.035 122.3)

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 #A7AF97 2.27:1 Fails Lc -49.8 Large or bold text, headings
Black text on #A7AF97 9.22:1 AAA Lc 59.1 Large or bold text, headings
#A7AF97 text on white 2.27:1 Fails Lc 44.9 Non-text elements, placeholder text
#A7AF97 text on black 9.22:1 AAA Lc -57.2 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE6

    oklch(93.5% 0.005 117.9)

  3. Step 200

    200

    #D7DAD2

    oklch(88.4% 0.011 123.5)

  4. Step 300

    300

    #BEC3B4

    oklch(80.9% 0.021 121.9)

  5. Step 400

    400 (this color)

    #A7AF97

    oklch(74.1% 0.035 122.3)

  6. Step 500

    500

    #858E70

    oklch(63.1% 0.045 121.2)

  7. Step 600

    600

    #6E7859

    oklch(55.6% 0.048 122.5)

  8. Step 700

    700

    #5C6549

    oklch(49.1% 0.044 122.5)

  9. Step 800

    800

    #4B523C

    oklch(42.6% 0.036 122.3)

  10. Step 900

    900

    #3F4433

    oklch(37.7% 0.029 121.1)

  11. Step 950

    950

    #25281E

    oklch(27% 0.018 121.2)

Export this scale for Tailwind in the Tailwind colors tool

#A7AF97 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)#B2AC960.016
Deuteranopia (no green cones)#B1AC980.016
Tritanopia (no blue cones)#A9ACA80.028
Achromatopsia (no color)#ACACAC0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7AF97

    #A7AF97

    oklch(74.1% 0.035 122.3)

  • #AFA6BE

    #AFA6BE

    oklch(74% 0.035 302.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7AF97

    #A7AF97

    oklch(74.1% 0.035 122.3)

  • #B3AB93

    #B3AB93

    oklch(74.1% 0.035 91.7)

  • #9CB2A1

    #9CB2A1

    oklch(74.2% 0.034 152.2)

Open the analogous palette in the generator

Split complementary

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

  • #A7AF97

    #A7AF97

    oklch(74.1% 0.035 122.3)

  • #A3AAC2

    #A3AAC2

    oklch(74% 0.035 272.6)

  • #B9A3B5

    #B9A3B5

    oklch(74% 0.036 332)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7AF97

    #A7AF97

    oklch(74.1% 0.035 122.3)

  • #99AEC0

    #99AEC0

    oklch(74.1% 0.035 244.1)

  • #BFA2A9

    #BFA2A9

    oklch(74% 0.035 1.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7AF97

    #A7AF97

    oklch(74.1% 0.035 122.3)

  • #93B1B8

    #93B1B8

    oklch(74% 0.034 213.4)

  • #AFA6BE

    #AFA6BE

    oklch(74% 0.035 302.6)

  • #C0A49D

    #C0A49D

    oklch(74.1% 0.035 34.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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