#A8A791

Closest named color: Cement (#A5A391). oklch(72.3% 0.031 105), rgb(168, 167, 145).

Aa

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

About this color

#A8A791 is a medium-light, muted yellow. In OKLCH its lightness is 72%, its chroma 0.031 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Cement (#A5A391), ΔE 0.012 away. Black text reads best on it, at 8.60:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamuted (0.031)
Temperaturewarm
Nearest nameCement (#A5A391)
Black text8.60:1
White text2.44:1

Values

HEX#A8A791
RGBrgb(168, 167, 145)
HSLhsl(57, 12%, 61%)
OKLCHoklch(72.3% 0.031 105)

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 #A8A791 2.44:1 Fails Lc -53.1 Large or bold text, headings
Black text on #A8A791 8.60:1 AAA Lc 55.9 Large or bold text, headings
#A8A791 text on white 2.44:1 Fails Lc 48.1 Large or bold text, headings
#A8A791 text on black 8.60:1 AAA Lc -53.9 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

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #DADAD2

    oklch(88.6% 0.011 106.6)

  4. Step 300

    300

    #C2C1B3

    oklch(80.8% 0.019 103.5)

  5. Step 400

    400 (this color)

    #A8A791

    oklch(72.3% 0.031 105)

  6. Step 500

    500

    #8D8B70

    oklch(63.1% 0.039 103.9)

  7. Step 600

    600

    #777558

    oklch(55.6% 0.043 104.4)

  8. Step 700

    700

    #646248

    oklch(49.1% 0.039 104.1)

  9. Step 800

    800

    #51503B

    oklch(42.6% 0.033 105.4)

  10. Step 900

    900

    #434333

    oklch(37.8% 0.026 107.6)

  11. Step 950

    950

    #27271E

    oklch(27% 0.016 107.4)

Export this scale for Tailwind in the Tailwind colors tool

#A8A791 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)#ABA5900.006
Deuteranopia (no green cones)#ACA6920.007
Tritanopia (no blue cones)#ACA4A10.028
Achromatopsia (no color)#A6A6A60.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A791

    #A8A791

    oklch(72.3% 0.031 105)

  • #A3A3B9

    #A3A3B9

    oklch(72.3% 0.032 285.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A791

    #A8A791

    oklch(72.3% 0.031 105)

  • #B1A391

    #B1A391

    oklch(72.2% 0.03 74.2)

  • #9DAA97

    #9DAA97

    oklch(72.2% 0.031 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #A8A791

    #A8A791

    oklch(72.3% 0.031 105)

  • #99A7B9

    #99A7B9

    oklch(72.3% 0.031 254.7)

  • #ADA0B3

    #ADA0B3

    oklch(72.3% 0.031 315.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A791

    #A8A791

    oklch(72.3% 0.031 105)

  • #92AAB4

    #92AAB4

    oklch(72.3% 0.03 224.9)

  • #B59EAA

    #B59EAA

    oklch(72.3% 0.032 345.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A791

    #A8A791

    oklch(72.3% 0.031 105)

  • #90ACAB

    #90ACAB

    oklch(72.3% 0.031 193.8)

  • #A3A3B9

    #A3A3B9

    oklch(72.3% 0.032 285.6)

  • #B89E9F

    #B89E9F

    oklch(72.3% 0.031 15.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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