#AAAF5C

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

Aa

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

About this color

#AAAF5C is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.107 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.107)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text8.99:1
White text2.33:1

Values

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

    #C1C594

    oklch(80.8% 0.066 111.7)

  5. Step 400

    400 (this color)

    #AAAF5C

    oklch(73.2% 0.107 111.8)

  6. Step 500

    500

    #8C910C

    oklch(63.2% 0.137 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

    #272903

    oklch(27% 0.056 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#AAAF5C 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)#BAA8550.027
Deuteranopia (no green cones)#BAAB600.027
Tritanopia (no blue cones)#B3A69C0.096
Achromatopsia (no color)#AAAAAA0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #AAAF5C

    #AAAF5C

    oklch(73.2% 0.107 111.8)

  • #A99CE6

    #A99CE6

    oklch(73.2% 0.106 291.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AAAF5C

    #AAAF5C

    oklch(73.2% 0.107 111.8)

  • #CAA154

    #CAA154

    oklch(73.1% 0.107 81.5)

  • #81B97A

    #81B97A

    oklch(73.1% 0.106 141.8)

Open the analogous palette in the generator

Split complementary

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

  • #AAAF5C

    #AAAF5C

    oklch(73.2% 0.107 111.8)

  • #83A8EC

    #83A8EC

    oklch(73.1% 0.107 262.1)

  • #C891D1

    #C891D1

    oklch(73.1% 0.108 321.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AAAF5C

    #AAAF5C

    oklch(73.2% 0.107 111.8)

  • #5AB4E0

    #5AB4E0

    oklch(73.2% 0.107 232)

  • #DC8CB0

    #DC8CB0

    oklch(73.2% 0.107 351.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AAAF5C

    #AAAF5C

    oklch(73.2% 0.107 111.8)

  • #40BCC5

    #40BCC5

    oklch(73.2% 0.107 202.1)

  • #A99CE6

    #A99CE6

    oklch(73.2% 0.106 291.6)

  • #E48D8A

    #E48D8A

    oklch(73.3% 0.107 22.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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