#AFA773

Closest named color: Stone (#ADA587). oklch(72.2% 0.071 100.5), rgb(175, 167, 115).

Aa

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

About this color

#AFA773 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.071 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.029 away. Black text reads best on it, at 8.59:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.59:1
White text2.44:1

Values

HEX#AFA773
RGBrgb(175, 167, 115)
HSLhsl(52, 27%, 57%)
OKLCHoklch(72.2% 0.071 100.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 #AFA773 2.44:1 Fails Lc -53.1 Large or bold text, headings
Black text on #AFA773 8.59:1 AAA Lc 56.0 Large or bold text, headings
#AFA773 text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#AFA773 text on black 8.59:1 AAA Lc -54.0 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

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C7C2A2

    oklch(81% 0.044 100)

  5. Step 400

    400 (this color)

    #AFA773

    oklch(72.2% 0.071 100.5)

  6. Step 500

    500

    #968B47

    oklch(63.2% 0.09 100.3)

  7. Step 600

    600

    #807426

    oklch(55.5% 0.098 100.4)

  8. Step 700

    700

    #6D6218

    oklch(49.2% 0.092 100.5)

  9. Step 800

    800

    #585017

    oklch(42.7% 0.076 101.2)

  10. Step 900

    900

    #49421A

    oklch(37.7% 0.059 99.5)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA773 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)#B1A46F0.008
Deuteranopia (no green cones)#B3A7750.007
Tritanopia (no blue cones)#B8A09A0.065
Achromatopsia (no color)#A6A6A60.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA773

    #AFA773

    oklch(72.2% 0.071 100.5)

  • #9DA1D1

    #9DA1D1

    oklch(72.3% 0.07 280.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA773

    #AFA773

    oklch(72.2% 0.071 100.5)

  • #C29E74

    #C29E74

    oklch(72.2% 0.071 70.6)

  • #96AF80

    #96AF80

    oklch(72.3% 0.071 130.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA773

    #AFA773

    oklch(72.2% 0.071 100.5)

  • #84A9D1

    #84A9D1

    oklch(72.2% 0.071 250.8)

  • #B399C7

    #B399C7

    oklch(72.2% 0.071 310.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA773

    #AFA773

    oklch(72.2% 0.071 100.5)

  • #71B0C4

    #71B0C4

    oklch(72.2% 0.071 220)

  • #C494B3

    #C494B3

    oklch(72.1% 0.071 340.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA773

    #AFA773

    oklch(72.2% 0.071 100.5)

  • #6EB4AF

    #6EB4AF

    oklch(72.2% 0.071 189.9)

  • #9DA1D1

    #9DA1D1

    oklch(72.3% 0.07 280.8)

  • #CD939B

    #CD939B

    oklch(72.2% 0.071 9.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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