#AFA57F

Closest named color: Stone (#ADA587). oklch(72.1% 0.053 95.1), rgb(175, 165, 127).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromamuted (0.053)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.51:1
White text2.46:1

Values

HEX#AFA57F
RGBrgb(175, 165, 127)
HSLhsl(48, 23%, 59%)
OKLCHoklch(72.1% 0.053 95.1)

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 #AFA57F 2.46:1 Fails Lc -53.5 Large or bold text, headings
Black text on #AFA57F 8.51:1 AAA Lc 55.5 Large or bold text, headings
#AFA57F text on white 2.46:1 Fails Lc 48.5 Large or bold text, headings
#AFA57F text on black 8.51:1 AAA Lc -53.5 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

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CC

    oklch(88.5% 0.018 92.7)

  4. Step 300

    300

    #C7C1A9

    oklch(80.9% 0.033 95.5)

  5. Step 400

    400 (this color)

    #AFA57F

    oklch(72.1% 0.053 95.1)

  6. Step 500

    500

    #968959

    oklch(63% 0.068 94.8)

  7. Step 600

    600

    #81733E

    oklch(55.6% 0.074 95)

  8. Step 700

    700

    #6D6030

    oklch(49% 0.069 94.5)

  9. Step 800

    800

    #594F29

    oklch(42.8% 0.057 95)

  10. Step 900

    900

    #494125

    oklch(37.6% 0.045 94)

  11. Step 950

    950

    #2B2616

    oklch(26.9% 0.028 92.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA57F 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)#ADA37D0.006
Deuteranopia (no green cones)#B0A6800.003
Tritanopia (no blue cones)#B79F9B0.049
Achromatopsia (no color)#A5A5A50.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA57F

    #AFA57F

    oklch(72.1% 0.053 95.1)

  • #9BA3C7

    #9BA3C7

    oklch(72.2% 0.053 275.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA57F

    #AFA57F

    oklch(72.1% 0.053 95.1)

  • #BD9E82

    #BD9E82

    oklch(72% 0.054 63.9)

  • #9DAB87

    #9DAB87

    oklch(72% 0.053 125)

Open the analogous palette in the generator

Split complementary

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

  • #AFA57F

    #AFA57F

    oklch(72.1% 0.053 95.1)

  • #89A9C5

    #89A9C5

    oklch(72.1% 0.054 245.1)

  • #AC9DC0

    #AC9DC0

    oklch(72.1% 0.053 304.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA57F

    #AFA57F

    oklch(72.1% 0.053 95.1)

  • #7EAEBA

    #7EAEBA

    oklch(72.1% 0.054 214.9)

  • #BB99B2

    #BB99B2

    oklch(72.2% 0.053 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA57F

    #AFA57F

    oklch(72.1% 0.053 95.1)

  • #7FB0A9

    #7FB0A9

    oklch(72% 0.053 185.1)

  • #9BA3C7

    #9BA3C7

    oklch(72.2% 0.053 275.2)

  • #C397A0

    #C397A0

    oklch(72% 0.054 4.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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