#A5AF8A

Closest named color: Bland (#AFA88B). oklch(73.6% 0.053 120), rgb(165, 175, 138).

Aa

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

About this color

#A5AF8A is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.053 and its hue 120°. 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.09:1.

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

Values

HEX#A5AF8A
RGBrgb(165, 175, 138)
HSLhsl(76, 19%, 61%)
OKLCHoklch(73.6% 0.053 120)

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 #A5AF8A 2.30:1 Fails Lc -50.4 Large or bold text, headings
Black text on #A5AF8A 9.09:1 AAA Lc 58.5 Large or bold text, headings
#A5AF8A text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#A5AF8A text on black 9.09:1 AAA Lc -56.6 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

    #BDC4AD

    oklch(80.9% 0.032 120.9)

  5. Step 400

    400 (this color)

    #A5AF8A

    oklch(73.6% 0.053 120)

  6. Step 500

    500

    #849061

    oklch(63.1% 0.068 120)

  7. Step 600

    600

    #6E7A48

    oklch(55.7% 0.073 119.8)

  8. Step 700

    700

    #5C6639

    oklch(49% 0.067 119.2)

  9. Step 800

    800

    #4B5430

    oklch(42.8% 0.056 120.3)

  10. Step 900

    900

    #3E452A

    oklch(37.6% 0.044 120.4)

  11. Step 950

    950

    #252919

    oklch(27.2% 0.029 119.7)

Export this scale for Tailwind in the Tailwind colors tool

#A5AF8A 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.022
Deuteranopia (no green cones)#B3AB8B0.022
Tritanopia (no blue cones)#A8ABA50.044
Achromatopsia (no color)#ABABAB0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5AF8A

    #A5AF8A

    oklch(73.6% 0.053 120)

  • #AEA3C7

    #AEA3C7

    oklch(73.7% 0.053 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5AF8A

    #A5AF8A

    oklch(73.6% 0.053 120)

  • #B6A984

    #B6A984

    oklch(73.6% 0.053 91)

  • #93B398

    #93B398

    oklch(73.5% 0.052 149.5)

Open the analogous palette in the generator

Split complementary

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

  • #A5AF8A

    #A5AF8A

    oklch(73.6% 0.053 120)

  • #9CA9CC

    #9CA9CC

    oklch(73.7% 0.053 269.1)

  • #BD9EBA

    #BD9EBA

    oklch(73.6% 0.053 329.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5AF8A

    #A5AF8A

    oklch(73.6% 0.053 120)

  • #8CAFC8

    #8CAFC8

    oklch(73.7% 0.053 239.5)

  • #C79CA8

    #C79CA8

    oklch(73.6% 0.053 360)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5AF8A

    #A5AF8A

    oklch(73.6% 0.053 120)

  • #83B3BC

    #83B3BC

    oklch(73.6% 0.052 210.4)

  • #AEA3C7

    #AEA3C7

    oklch(73.7% 0.053 299.1)

  • #C99E96

    #C99E96

    oklch(73.7% 0.053 30.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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