#AFA077

Closest named color: Dust (#B2996E). oklch(70.8% 0.059 90.3), rgb(175, 160, 119).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.11:1
White text2.58:1

Values

HEX#AFA077
RGBrgb(175, 160, 119)
HSLhsl(44, 26%, 58%)
OKLCHoklch(70.8% 0.059 90.3)

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 #AFA077 2.58:1 Fails Lc -55.7 Large or bold text, headings
Black text on #AFA077 8.11:1 AAA Lc 53.5 Large or bold text, headings
#AFA077 text on white 2.58:1 Fails Lc 50.6 Large or bold text, headings
#AFA077 text on black 8.11:1 AAA Lc -51.4 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

    #CAC0A6

    oklch(80.9% 0.037 89.5)

  5. Step 400

    400 (this color)

    #AFA077

    oklch(70.8% 0.059 90.3)

  6. Step 500

    500

    #9B8853

    oklch(63.2% 0.075 90.4)

  7. Step 600

    600

    #867137

    oklch(55.6% 0.081 89.7)

  8. Step 700

    700

    #715F29

    oklch(49.1% 0.076 90.9)

  9. Step 800

    800

    #5C4D23

    oklch(42.6% 0.063 89.9)

  10. Step 900

    900

    #4C4122

    oklch(37.9% 0.049 90.4)

  11. Step 950

    950

    #2C2614

    oklch(27% 0.031 91.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA077 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)#A99E740.011
Deuteranopia (no green cones)#ADA3780.008
Tritanopia (no blue cones)#B899950.054
Achromatopsia (no color)#A1A1A10.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA077

    #AFA077

    oklch(70.8% 0.059 90.3)

  • #93A0C7

    #93A0C7

    oklch(70.9% 0.059 270.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA077

    #AFA077

    oklch(70.8% 0.059 90.3)

  • #BD997C

    #BD997C

    oklch(70.9% 0.059 60.5)

  • #9CA77E

    #9CA77E

    oklch(70.9% 0.059 120.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA077

    #AFA077

    oklch(70.8% 0.059 90.3)

  • #80A6C3

    #80A6C3

    oklch(70.8% 0.059 241.5)

  • #A699C1

    #A699C1

    oklch(70.8% 0.059 299.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA077

    #AFA077

    oklch(70.8% 0.059 90.3)

  • #75ABB5

    #75ABB5

    oklch(70.7% 0.058 210.4)

  • #B794B3

    #B794B3

    oklch(70.9% 0.06 330)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA077

    #AFA077

    oklch(70.8% 0.059 90.3)

  • #78ADA2

    #78ADA2

    oklch(70.7% 0.058 180.2)

  • #93A0C7

    #93A0C7

    oklch(70.9% 0.059 270.5)

  • #C1929F

    #C1929F

    oklch(70.8% 0.059 0.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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