#AFA176

Closest named color: Dust (#B2996E). oklch(71% 0.061 92.2), rgb(175, 161, 118).

Aa

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

About this color

#AFA176 is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.061 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.020 away. Black text reads best on it, at 8.18:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.18:1
White text2.56:1

Values

HEX#AFA176
RGBrgb(175, 161, 118)
HSLhsl(45, 26%, 57%)
OKLCHoklch(71% 0.061 92.2)

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 #AFA176 2.56:1 Fails Lc -55.3 Large or bold text, headings
Black text on #AFA176 8.18:1 AAA Lc 53.8 Large or bold text, headings
#AFA176 text on white 2.56:1 Fails Lc 50.2 Large or bold text, headings
#AFA176 text on black 8.18:1 AAA Lc -51.7 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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9CA

    oklch(88.5% 0.021 91.6)

  4. Step 300

    300

    #C9C0A5

    oklch(80.8% 0.038 91.7)

  5. Step 400

    400 (this color)

    #AFA176

    oklch(71% 0.061 92.2)

  6. Step 500

    500

    #9A8851

    oklch(63% 0.077 91.9)

  7. Step 600

    600

    #857234

    oklch(55.7% 0.085 92.4)

  8. Step 700

    700

    #715F26

    oklch(49.1% 0.079 91.7)

  9. Step 800

    800

    #5C4E21

    oklch(42.8% 0.066 92.2)

  10. Step 900

    900

    #4B4120

    oklch(37.7% 0.051 92.9)

  11. Step 950

    950

    #2C2614

    oklch(27% 0.031 91.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA176 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)#AA9F730.010
Deuteranopia (no green cones)#AEA3770.005
Tritanopia (no blue cones)#B89A960.056
Achromatopsia (no color)#A2A2A20.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA176

    #AFA176

    oklch(71% 0.061 92.2)

  • #94A0C8

    #94A0C8

    oklch(71% 0.06 271.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA176

    #AFA176

    oklch(71% 0.061 92.2)

  • #BE9A7B

    #BE9A7B

    oklch(71.1% 0.061 62.3)

  • #9BA87E

    #9BA87E

    oklch(71% 0.06 121.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA176

    #AFA176

    oklch(71% 0.061 92.2)

  • #80A7C5

    #80A7C5

    oklch(71.1% 0.061 241.8)

  • #A899C2

    #A899C2

    oklch(71% 0.061 301.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA176

    #AFA176

    oklch(71% 0.061 92.2)

  • #74ACB8

    #74ACB8

    oklch(71% 0.061 212.6)

  • #B994B3

    #B994B3

    oklch(71% 0.061 331.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA176

    #AFA176

    oklch(71% 0.061 92.2)

  • #76AEA4

    #76AEA4

    oklch(70.9% 0.061 182.1)

  • #94A0C8

    #94A0C8

    oklch(71% 0.06 271.8)

  • #C3929E

    #C3929E

    oklch(71% 0.061 2.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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