#A6AF8A

Closest named color: Bland (#AFA88B). oklch(73.7% 0.052 118.8), rgb(166, 175, 138).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.052)
Temperaturein between
Nearest nameBland (#AFA88B)
Black text9.12:1
White text2.30:1

Values

HEX#A6AF8A
RGBrgb(166, 175, 138)
HSLhsl(75, 19%, 61%)
OKLCHoklch(73.7% 0.052 118.8)

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 #A6AF8A 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #A6AF8A 9.12:1 AAA Lc 58.6 Large or bold text, headings
#A6AF8A text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#A6AF8A text on black 9.12:1 AAA Lc -56.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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BEC4AD

    oklch(80.9% 0.032 119)

  5. Step 400

    400 (this color)

    #A6AF8A

    oklch(73.7% 0.052 118.8)

  6. Step 500

    500

    #858F61

    oklch(63% 0.066 118.3)

  7. Step 600

    600

    #6F7947

    oklch(55.5% 0.072 118.1)

  8. Step 700

    700

    #5D6639

    oklch(49.1% 0.067 118.2)

  9. Step 800

    800

    #4C532F

    oklch(42.6% 0.056 117.8)

  10. Step 900

    900

    #3F452A

    oklch(37.7% 0.044 118.8)

  11. Step 950

    950

    #252819

    oklch(26.9% 0.027 117.4)

Export this scale for Tailwind in the Tailwind colors tool

#A6AF8A 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)#B4AB880.021
Deuteranopia (no green cones)#B3AB8B0.021
Tritanopia (no blue cones)#AAABA50.044
Achromatopsia (no color)#ABABAB0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #A6AF8A

    #A6AF8A

    oklch(73.7% 0.052 118.8)

  • #AEA3C7

    #AEA3C7

    oklch(73.7% 0.053 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A6AF8A

    #A6AF8A

    oklch(73.7% 0.052 118.8)

  • #B7A985

    #B7A985

    oklch(73.7% 0.052 89.3)

  • #94B498

    #94B498

    oklch(73.8% 0.053 148.5)

Open the analogous palette in the generator

Split complementary

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

  • #A6AF8A

    #A6AF8A

    oklch(73.7% 0.052 118.8)

  • #9CA9CC

    #9CA9CC

    oklch(73.7% 0.053 269.1)

  • #BD9FBA

    #BD9FBA

    oklch(73.8% 0.051 329.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A6AF8A

    #A6AF8A

    oklch(73.7% 0.052 118.8)

  • #8CAFC8

    #8CAFC8

    oklch(73.7% 0.053 239.5)

  • #C79DA9

    #C79DA9

    oklch(73.8% 0.052 359.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A6AF8A

    #A6AF8A

    oklch(73.7% 0.052 118.8)

  • #83B4BC

    #83B4BC

    oklch(73.8% 0.053 208.6)

  • #AEA3C7

    #AEA3C7

    oklch(73.7% 0.053 299.1)

  • #C99E97

    #C99E97

    oklch(73.7% 0.053 29)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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