#A8A166

Closest named color: Dust (#B2996E). oklch(70.1% 0.079 102.4), rgb(168, 161, 102).

Aa

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

About this color

#A8A166 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.079 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.031 away. Black text reads best on it, at 7.95:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text7.95:1
White text2.63:1

Values

HEX#A8A166
RGBrgb(168, 161, 102)
HSLhsl(54, 27%, 53%)
OKLCHoklch(70.1% 0.079 102.4)

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 #A8A166 2.63:1 Fails Lc -56.6 Large or bold text, headings
Black text on #A8A166 7.95:1 AAA Lc 52.6 Large or bold text, headings
#A8A166 text on white 2.63:1 Fails Lc 51.4 Large or bold text, headings
#A8A166 text on black 7.95:1 AAA Lc -50.5 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C6C29E

    oklch(80.8% 0.049 102.2)

  5. Step 400

    400 (this color)

    #A8A166

    oklch(70.1% 0.079 102.4)

  6. Step 500

    500

    #958C3C

    oklch(63.1% 0.102 102.9)

  7. Step 600

    600

    #807514

    oklch(55.6% 0.11 102.4)

  8. Step 700

    700

    #6C6201

    oklch(49% 0.102 102.5)

  9. Step 800

    800

    #58500A

    oklch(42.6% 0.085 102.3)

  10. Step 900

    900

    #484313

    oklch(37.7% 0.067 103.3)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#A8A166 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)#AB9D620.011
Deuteranopia (no green cones)#ADA1680.008
Tritanopia (no blue cones)#B199920.072
Achromatopsia (no color)#9F9F9F0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A166

    #A8A166

    oklch(70.1% 0.079 102.4)

  • #9799CF

    #9799CF

    oklch(70.1% 0.079 282.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A166

    #A8A166

    oklch(70.1% 0.079 102.4)

  • #BD9767

    #BD9767

    oklch(70% 0.079 72.5)

  • #8CAA76

    #8CAA76

    oklch(70.2% 0.08 132.5)

Open the analogous palette in the generator

Split complementary

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

  • #A8A166

    #A8A166

    oklch(70.1% 0.079 102.4)

  • #7BA2CF

    #7BA2CF

    oklch(70.1% 0.079 252.5)

  • #B091C3

    #B091C3

    oklch(70.2% 0.079 312.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A166

    #A8A166

    oklch(70.1% 0.079 102.4)

  • #64AAC2

    #64AAC2

    oklch(70.1% 0.079 222.2)

  • #C28BAC

    #C28BAC

    oklch(70.1% 0.08 342.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A166

    #A8A166

    oklch(70.1% 0.079 102.4)

  • #5EAFAC

    #5EAFAC

    oklch(70.2% 0.08 192.4)

  • #9799CF

    #9799CF

    oklch(70.1% 0.079 282.5)

  • #CB8A91

    #CB8A91

    oklch(70% 0.08 12.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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