#AFA582

Closest named color: Stone (#ADA587). oklch(72.1% 0.05 94), rgb(175, 165, 130).

Aa

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

About this color

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

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

Values

HEX#AFA582
RGBrgb(175, 165, 130)
HSLhsl(47, 22%, 60%)
OKLCHoklch(72.1% 0.05 94)

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 #AFA582 2.46:1 Fails Lc -53.5 Large or bold text, headings
Black text on #AFA582 8.52:1 AAA Lc 55.6 Large or bold text, headings
#AFA582 text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#AFA582 text on black 8.52:1 AAA Lc -53.6 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

    #DDD9CD

    oklch(88.5% 0.017 91.6)

  4. Step 300

    300

    #C7C1AB

    oklch(81% 0.031 94.4)

  5. Step 400

    400 (this color)

    #AFA582

    oklch(72.1% 0.05 94)

  6. Step 500

    500

    #96895D

    oklch(63.1% 0.063 93.6)

  7. Step 600

    600

    #807343

    oklch(55.6% 0.069 94.7)

  8. Step 700

    700

    #6D6034

    oklch(49.1% 0.064 93.4)

  9. Step 800

    800

    #584F2C

    oklch(42.8% 0.053 95.4)

  10. Step 900

    900

    #494128

    oklch(37.7% 0.041 92.4)

  11. Step 950

    950

    #2B2618

    oklch(27% 0.025 90.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA582 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)#ADA3800.006
Deuteranopia (no green cones)#AFA6830.003
Tritanopia (no blue cones)#B6A09B0.044
Achromatopsia (no color)#A5A5A50.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA582

    #AFA582

    oklch(72.1% 0.05 94)

  • #9BA3C5

    #9BA3C5

    oklch(72.1% 0.05 274.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA582

    #AFA582

    oklch(72.1% 0.05 94)

  • #BC9F85

    #BC9F85

    oklch(72.2% 0.05 63.8)

  • #9EAB89

    #9EAB89

    oklch(72.2% 0.05 124.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA582

    #AFA582

    oklch(72.1% 0.05 94)

  • #8BA9C2

    #8BA9C2

    oklch(72.1% 0.049 243.6)

  • #AC9EBF

    #AC9EBF

    oklch(72.2% 0.05 304.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA582

    #AFA582

    oklch(72.1% 0.05 94)

  • #81AEB8

    #81AEB8

    oklch(72.2% 0.05 212.9)

  • #B99AB2

    #B99AB2

    oklch(72.2% 0.049 334)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA582

    #AFA582

    oklch(72.1% 0.05 94)

  • #82B0A8

    #82B0A8

    oklch(72.2% 0.05 183)

  • #9BA3C5

    #9BA3C5

    oklch(72.1% 0.05 274.7)

  • #C199A1

    #C199A1

    oklch(72.2% 0.049 5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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