#AFA471

Closest named color: Stone (#ADA587). oklch(71.6% 0.07 97.5), rgb(175, 164, 113).

Aa

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

About this color

#AFA471 is a medium-light, muted yellow. In OKLCH its lightness is 72%, its chroma 0.070 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.028 away. Black text reads best on it, at 8.37:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.37:1
White text2.50:1

Values

HEX#AFA471
RGBrgb(175, 164, 113)
HSLhsl(49, 28%, 56%)
OKLCHoklch(71.6% 0.07 97.5)

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 #AFA471 2.50:1 Fails Lc -54.3 Large or bold text, headings
Black text on #AFA471 8.37:1 AAA Lc 54.8 Large or bold text, headings
#AFA471 text on white 2.50:1 Fails Lc 49.2 Large or bold text, headings
#AFA471 text on black 8.37:1 AAA Lc -52.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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDDAC8

    oklch(88.6% 0.024 99.1)

  4. Step 300

    300

    #C8C1A2

    oklch(80.8% 0.043 96.7)

  5. Step 400

    400 (this color)

    #AFA471

    oklch(71.6% 0.07 97.5)

  6. Step 500

    500

    #988A47

    oklch(63.1% 0.089 97.8)

  7. Step 600

    600

    #837327

    oklch(55.6% 0.097 97.2)

  8. Step 700

    700

    #6F6119

    oklch(49.2% 0.09 97.8)

  9. Step 800

    800

    #5A4F18

    oklch(42.7% 0.074 97.8)

  10. Step 900

    900

    #4A421A

    oklch(37.8% 0.059 98.1)

  11. Step 950

    950

    #2B2710

    oklch(27.1% 0.038 99.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA471 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)#AEA16D0.008
Deuteranopia (no green cones)#B1A5730.005
Tritanopia (no blue cones)#B89D970.063
Achromatopsia (no color)#A3A3A30.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA471

    #AFA471

    oklch(71.6% 0.07 97.5)

  • #98A0CF

    #98A0CF

    oklch(71.6% 0.069 277)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA471

    #AFA471

    oklch(71.6% 0.07 97.5)

  • #C19B74

    #C19B74

    oklch(71.5% 0.07 67.1)

  • #97AC7D

    #97AC7D

    oklch(71.6% 0.07 127.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA471

    #AFA471

    oklch(71.6% 0.07 97.5)

  • #80A8CD

    #80A8CD

    oklch(71.6% 0.07 246.8)

  • #AF98C6

    #AF98C6

    oklch(71.6% 0.07 307.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA471

    #AFA471

    oklch(71.6% 0.07 97.5)

  • #6FAEC0

    #6FAEC0

    oklch(71.5% 0.07 217.9)

  • #C193B3

    #C193B3

    oklch(71.7% 0.07 337.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA471

    #AFA471

    oklch(71.6% 0.07 97.5)

  • #6EB2AB

    #6EB2AB

    oklch(71.6% 0.07 187.4)

  • #98A0CF

    #98A0CF

    oklch(71.6% 0.069 277)

  • #CA919B

    #CA919B

    oklch(71.5% 0.07 7.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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