#AFAA72

Closest named color: Stone (#ADA587). oklch(72.9% 0.075 103.7), rgb(175, 170, 114).

Aa

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

About this color

#AFAA72 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.075 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.035 away. Black text reads best on it, at 8.81:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.81:1
White text2.38:1

Values

HEX#AFAA72
RGBrgb(175, 170, 114)
HSLhsl(55, 28%, 57%)
OKLCHoklch(72.9% 0.075 103.7)

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 #AFAA72 2.38:1 Fails Lc -51.9 Large or bold text, headings
Black text on #AFAA72 8.81:1 AAA Lc 57.1 Large or bold text, headings
#AFAA72 text on white 2.38:1 Fails Lc 46.9 Large or bold text, headings
#AFAA72 text on black 8.81:1 AAA Lc -55.1 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC7

    oklch(88.5% 0.026 102)

  4. Step 300

    300

    #C5C3A0

    oklch(81% 0.047 104.7)

  5. Step 400

    400 (this color)

    #AFAA72

    oklch(72.9% 0.075 103.7)

  6. Step 500

    500

    #938C42

    oklch(63% 0.096 103.9)

  7. Step 600

    600

    #7E761F

    oklch(55.7% 0.105 104)

  8. Step 700

    700

    #6A6310

    oklch(49.1% 0.098 104.3)

  9. Step 800

    800

    #575112

    oklch(42.8% 0.081 103.8)

  10. Step 900

    900

    #474317

    oklch(37.7% 0.063 104.1)

  11. Step 950

    950

    #2A270F

    oklch(26.9% 0.039 102.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA72 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)#B4A66E0.012
Deuteranopia (no green cones)#B6A9740.011
Tritanopia (no blue cones)#B8A39C0.068
Achromatopsia (no color)#A8A8A80.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA72

    #AFAA72

    oklch(72.9% 0.075 103.7)

  • #A1A1D6

    #A1A1D6

    oklch(72.8% 0.076 284.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA72

    #AFAA72

    oklch(72.9% 0.075 103.7)

  • #C4A172

    #C4A172

    oklch(73% 0.075 74.4)

  • #94B282

    #94B282

    oklch(72.8% 0.075 134)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA72

    #AFAA72

    oklch(72.9% 0.075 103.7)

  • #86AAD6

    #86AAD6

    oklch(72.8% 0.076 253.8)

  • #B99AC9

    #B99AC9

    oklch(73% 0.075 314)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA72

    #AFAA72

    oklch(72.9% 0.075 103.7)

  • #71B2CA

    #71B2CA

    oklch(72.9% 0.075 223.5)

  • #CA95B3

    #CA95B3

    oklch(72.9% 0.075 344.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA72

    #AFAA72

    oklch(72.9% 0.075 103.7)

  • #6BB7B5

    #6BB7B5

    oklch(73% 0.076 193.4)

  • #A1A1D6

    #A1A1D6

    oklch(72.8% 0.076 284.3)

  • #D29499

    #D29499

    oklch(72.8% 0.075 13.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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