#AAAF87

Closest named color: Bland (#AFA88B). oklch(74% 0.055 113.6), rgb(170, 175, 135).

Aa

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

About this color

#AAAF87 is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.055 and its hue 114°. 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.19:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.055)
Temperaturein between
Nearest nameBland (#AFA88B)
Black text9.19:1
White text2.28:1

Values

HEX#AAAF87
RGBrgb(170, 175, 135)
HSLhsl(68, 20%, 61%)
OKLCHoklch(74% 0.055 113.6)

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 #AAAF87 2.28:1 Fails Lc -49.9 Large or bold text, headings
Black text on #AAAF87 9.19:1 AAA Lc 58.9 Large or bold text, headings
#AAAF87 text on white 2.28:1 Fails Lc 45.1 Large or bold text, headings
#AAAF87 text on black 9.19:1 AAA Lc -57.0 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D9DBCD

    oklch(88.6% 0.019 113.4)

  4. Step 300

    300

    #C0C3AA

    oklch(80.8% 0.034 112.7)

  5. Step 400

    400 (this color)

    #AAAF87

    oklch(74% 0.055 113.6)

  6. Step 500

    500

    #898E5C

    oklch(63% 0.07 113.1)

  7. Step 600

    600

    #737842

    oklch(55.5% 0.076 113.2)

  8. Step 700

    700

    #606533

    oklch(49% 0.072 113.8)

  9. Step 800

    800

    #4F532B

    oklch(42.8% 0.06 113.6)

  10. Step 900

    900

    #414427

    oklch(37.6% 0.046 113.4)

  11. Step 950

    950

    #262817

    oklch(26.9% 0.03 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#AAAF87 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)#B5AB850.018
Deuteranopia (no green cones)#B5AC890.018
Tritanopia (no blue cones)#AFAAA40.048
Achromatopsia (no color)#ABABAB0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #AAAF87

    #AAAF87

    oklch(74% 0.055 113.6)

  • #ACA5CB

    #ACA5CB

    oklch(74.1% 0.055 293.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AAAF87

    #AAAF87

    oklch(74% 0.055 113.6)

  • #BCA883

    #BCA883

    oklch(74% 0.056 82.7)

  • #96B495

    #96B495

    oklch(73.9% 0.055 144.2)

Open the analogous palette in the generator

Split complementary

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

  • #AAAF87

    #AAAF87

    oklch(74% 0.055 113.6)

  • #99ABCE

    #99ABCE

    oklch(73.9% 0.055 263.6)

  • #BC9FBF

    #BC9FBF

    oklch(73.8% 0.056 323.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AAAF87

    #AAAF87

    oklch(74% 0.055 113.6)

  • #88B1C9

    #88B1C9

    oklch(73.9% 0.056 234.2)

  • #C89DAD

    #C89DAD

    oklch(74% 0.055 354.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AAAF87

    #AAAF87

    oklch(74% 0.055 113.6)

  • #81B5BA

    #81B5BA

    oklch(73.8% 0.055 203.5)

  • #ACA5CB

    #ACA5CB

    oklch(74.1% 0.055 293.5)

  • #CC9E9A

    #CC9E9A

    oklch(74.1% 0.055 24.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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