#AAB172

Closest named color: Dark Khaki (#BDB76B). oklch(74% 0.085 113.7), rgb(170, 177, 114).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text9.24:1
White text2.27:1

Values

HEX#AAB172
RGBrgb(170, 177, 114)
HSLhsl(67, 29%, 57%)
OKLCHoklch(74% 0.085 113.7)

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 #AAB172 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #AAB172 9.24:1 AAA Lc 59.2 Large or bold text, headings
#AAB172 text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#AAB172 text on black 9.24:1 AAA Lc -57.3 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC6

    oklch(88.5% 0.03 115.4)

  4. Step 300

    300

    #C0C59E

    oklch(80.9% 0.053 113.5)

  5. Step 400

    400 (this color)

    #AAB172

    oklch(74% 0.085 113.7)

  6. Step 500

    500

    #89903D

    oklch(63% 0.107 113.5)

  7. Step 600

    600

    #737A14

    oklch(55.5% 0.118 113.8)

  8. Step 700

    700

    #616702

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F540A

    oklch(42.7% 0.091 113.7)

  10. Step 900

    900

    #414513

    oklch(37.5% 0.071 113.7)

  11. Step 950

    950

    #26290D

    oklch(27% 0.045 114.6)

Export this scale for Tailwind in the Tailwind colors tool

#AAB172 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)#BAAB6D0.026
Deuteranopia (no green cones)#B9AD750.025
Tritanopia (no blue cones)#B1AAA10.074
Achromatopsia (no color)#ACACAC0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AAB172

    #AAB172

    oklch(74% 0.085 113.7)

  • #ADA1DC

    #ADA1DC

    oklch(74% 0.085 293.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AAB172

    #AAB172

    oklch(74% 0.085 113.7)

  • #C4A66B

    #C4A66B

    oklch(73.8% 0.085 83.5)

  • #8BB989

    #8BB989

    oklch(74% 0.084 143.6)

Open the analogous palette in the generator

Split complementary

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

  • #AAB172

    #AAB172

    oklch(74% 0.085 113.7)

  • #8FABE1

    #8FABE1

    oklch(74% 0.085 263.2)

  • #C599C9

    #C599C9

    oklch(73.9% 0.084 323.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AAB172

    #AAB172

    oklch(74% 0.085 113.7)

  • #73B4D8

    #73B4D8

    oklch(74% 0.084 233.8)

  • #D695AF

    #D695AF

    oklch(74.1% 0.085 353.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AAB172

    #AAB172

    oklch(74% 0.085 113.7)

  • #64BBC3

    #64BBC3

    oklch(74.1% 0.085 203.3)

  • #ADA1DC

    #ADA1DC

    oklch(74% 0.085 293.5)

  • #DB9691

    #DB9691

    oklch(74% 0.084 23.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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