#AFA179

Closest named color: Stone (#ADA587). oklch(71.1% 0.057 91), rgb(175, 161, 121).

Aa

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

About this color

#AFA179 is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.057 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.018 away. Black text reads best on it, at 8.19:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.19:1
White text2.56:1

Values

HEX#AFA179
RGBrgb(175, 161, 121)
HSLhsl(44, 25%, 58%)
OKLCHoklch(71.1% 0.057 91)

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 #AFA179 2.56:1 Fails Lc -55.3 Large or bold text, headings
Black text on #AFA179 8.19:1 AAA Lc 53.9 Large or bold text, headings
#AFA179 text on white 2.56:1 Fails Lc 50.1 Large or bold text, headings
#AFA179 text on black 8.19:1 AAA Lc -51.8 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9CB

    oklch(88.5% 0.02 90.6)

  4. Step 300

    300

    #C9C0A7

    oklch(80.8% 0.036 90.5)

  5. Step 400

    400 (this color)

    #AFA179

    oklch(71.1% 0.057 91)

  6. Step 500

    500

    #9A8855

    oklch(63.1% 0.073 90.7)

  7. Step 600

    600

    #857239

    oklch(55.7% 0.08 91.2)

  8. Step 700

    700

    #705F2B

    oklch(49.1% 0.074 91.4)

  9. Step 800

    800

    #5B4E25

    oklch(42.7% 0.061 92.1)

  10. Step 900

    900

    #4B4123

    oklch(37.8% 0.048 91.5)

  11. Step 950

    950

    #2C2615

    oklch(27% 0.03 90.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA179 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)#AA9F760.010
Deuteranopia (no green cones)#AEA47A0.008
Tritanopia (no blue cones)#B89B960.051
Achromatopsia (no color)#A2A2A20.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA179

    #AFA179

    oklch(71.1% 0.057 91)

  • #94A0C6

    #94A0C6

    oklch(71% 0.057 271.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA179

    #AFA179

    oklch(71.1% 0.057 91)

  • #BD9A7E

    #BD9A7E

    oklch(71.1% 0.057 60.3)

  • #9CA880

    #9CA880

    oklch(71.1% 0.057 121.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA179

    #AFA179

    oklch(71.1% 0.057 91)

  • #82A7C3

    #82A7C3

    oklch(71.1% 0.058 241.2)

  • #A89AC0

    #A89AC0

    oklch(71.1% 0.057 301.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA179

    #AFA179

    oklch(71.1% 0.057 91)

  • #77ACB6

    #77ACB6

    oklch(71.1% 0.058 210.6)

  • #B795B2

    #B795B2

    oklch(71% 0.057 331.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA179

    #AFA179

    oklch(71.1% 0.057 91)

  • #7AAEA4

    #7AAEA4

    oklch(71.1% 0.057 181.3)

  • #94A0C6

    #94A0C6

    oklch(71% 0.057 271.2)

  • #C1939F

    #C1939F

    oklch(71% 0.058 1.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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