#AAAF5B

Closest named color: Dark Khaki (#BDB76B). oklch(73.2% 0.108 111.8), rgb(170, 175, 91).

Aa

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

About this color

#AAAF5B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.108 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.039 away. Black text reads best on it, at 8.99:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text8.99:1
White text2.33:1

Values

HEX#AAAF5B
RGBrgb(170, 175, 91)
HSLhsl(64, 34%, 52%)
OKLCHoklch(73.2% 0.108 111.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 #AAAF5B 2.33:1 Fails Lc -50.9 Large or bold text, headings
Black text on #AAAF5B 8.99:1 AAA Lc 58.0 Large or bold text, headings
#AAAF5B text on white 2.33:1 Fails Lc 46.0 Large or bold text, headings
#AAAF5B text on black 8.99:1 AAA Lc -56.1 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #D9DCC0

    oklch(88.5% 0.038 112.1)

  4. Step 300

    300

    #C1C593

    oklch(80.8% 0.067 111.6)

  5. Step 400

    400 (this color)

    #AAAF5B

    oklch(73.2% 0.108 111.8)

  6. Step 500

    500

    #8C9106

    oklch(63.1% 0.139 112.2)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272902

    oklch(27% 0.057 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#AAAF5B 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)#BAA8540.027
Deuteranopia (no green cones)#BAAB5F0.027
Tritanopia (no blue cones)#B3A69B0.095
Achromatopsia (no color)#AAAAAA0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #AAAF5B

    #AAAF5B

    oklch(73.2% 0.108 111.8)

  • #A99CE7

    #A99CE7

    oklch(73.2% 0.108 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AAAF5B

    #AAAF5B

    oklch(73.2% 0.108 111.8)

  • #CAA153

    #CAA153

    oklch(73.1% 0.108 81.8)

  • #81BA7A

    #81BA7A

    oklch(73.3% 0.108 141.8)

Open the analogous palette in the generator

Split complementary

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

  • #AAAF5B

    #AAAF5B

    oklch(73.2% 0.108 111.8)

  • #82A8EC

    #82A8EC

    oklch(73.1% 0.108 261.6)

  • #C891D1

    #C891D1

    oklch(73.1% 0.108 321.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AAAF5B

    #AAAF5B

    oklch(73.2% 0.108 111.8)

  • #58B4E0

    #58B4E0

    oklch(73.1% 0.108 231.6)

  • #DC8BB0

    #DC8BB0

    oklch(73.1% 0.108 351.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AAAF5B

    #AAAF5B

    oklch(73.2% 0.108 111.8)

  • #3EBCC5

    #3EBCC5

    oklch(73.1% 0.108 202)

  • #A99CE7

    #A99CE7

    oklch(73.2% 0.108 291.5)

  • #E48C8A

    #E48C8A

    oklch(73.1% 0.108 21.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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