#AAAF5D

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

Aa

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

About this color

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

Values

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

    #D9DCC1

    oklch(88.5% 0.036 112.3)

  4. Step 300

    300

    #C1C594

    oklch(80.8% 0.066 111.7)

  5. Step 400

    400 (this color)

    #AAAF5D

    oklch(73.2% 0.106 111.8)

  6. Step 500

    500

    #8C9110

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

#AAAF5D 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)#BAA8560.027
Deuteranopia (no green cones)#BAAB610.027
Tritanopia (no blue cones)#B3A69C0.095
Achromatopsia (no color)#AAAAAA0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #AAAF5D

    #AAAF5D

    oklch(73.2% 0.106 111.8)

  • #A99CE6

    #A99CE6

    oklch(73.2% 0.106 291.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AAAF5D

    #AAAF5D

    oklch(73.2% 0.106 111.8)

  • #CAA255

    #CAA255

    oklch(73.3% 0.107 82.1)

  • #81B97B

    #81B97B

    oklch(73.1% 0.105 142.1)

Open the analogous palette in the generator

Split complementary

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

  • #AAAF5D

    #AAAF5D

    oklch(73.2% 0.106 111.8)

  • #83A8EB

    #83A8EB

    oklch(73.1% 0.106 261.9)

  • #C892D0

    #C892D0

    oklch(73.3% 0.106 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AAAF5D

    #AAAF5D

    oklch(73.2% 0.106 111.8)

  • #5BB4DF

    #5BB4DF

    oklch(73.2% 0.106 231.6)

  • #DC8CAF

    #DC8CAF

    oklch(73.2% 0.106 352.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AAAF5D

    #AAAF5D

    oklch(73.2% 0.106 111.8)

  • #42BCC4

    #42BCC4

    oklch(73.2% 0.106 201.4)

  • #A99CE6

    #A99CE6

    oklch(73.2% 0.106 291.6)

  • #E38D8A

    #E38D8A

    oklch(73.2% 0.105 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 #AAAF5D, closest first.

Similar named colors

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

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