#AFA474

Closest named color: Stone (#ADA587). oklch(71.6% 0.066 96.8), rgb(175, 164, 116).

Aa

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

About this color

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

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

Values

HEX#AFA474
RGBrgb(175, 164, 116)
HSLhsl(49, 27%, 57%)
OKLCHoklch(71.6% 0.066 96.8)

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 #AFA474 2.50:1 Fails Lc -54.2 Large or bold text, headings
Black text on #AFA474 8.38:1 AAA Lc 54.9 Large or bold text, headings
#AFA474 text on white 2.50:1 Fails Lc 49.1 Large or bold text, headings
#AFA474 text on black 8.38:1 AAA Lc -52.8 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

    #DDD9C9

    oklch(88.4% 0.022 95.3)

  4. Step 300

    300

    #C8C1A3

    oklch(80.9% 0.041 96.3)

  5. Step 400

    400 (this color)

    #AFA474

    oklch(71.6% 0.066 96.8)

  6. Step 500

    500

    #988A4B

    oklch(63.2% 0.085 97.1)

  7. Step 600

    600

    #83732D

    oklch(55.6% 0.092 96.4)

  8. Step 700

    700

    #6F601F

    oklch(49% 0.085 96)

  9. Step 800

    800

    #5A4F1C

    oklch(42.7% 0.071 97.1)

  10. Step 900

    900

    #4A421D

    oklch(37.8% 0.056 97.3)

  11. Step 950

    950

    #2B2612

    oklch(26.8% 0.034 95.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA474 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)#ADA1710.009
Deuteranopia (no green cones)#B1A5760.005
Tritanopia (no blue cones)#B89D980.061
Achromatopsia (no color)#A4A4A40.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA474

    #AFA474

    oklch(71.6% 0.066 96.8)

  • #98A0CD

    #98A0CD

    oklch(71.5% 0.066 276.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA474

    #AFA474

    oklch(71.6% 0.066 96.8)

  • #C09C77

    #C09C77

    oklch(71.7% 0.066 67.2)

  • #98AC7F

    #98AC7F

    oklch(71.7% 0.067 127.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA474

    #AFA474

    oklch(71.6% 0.066 96.8)

  • #82A8CB

    #82A8CB

    oklch(71.6% 0.066 246.7)

  • #AE99C4

    #AE99C4

    oklch(71.6% 0.066 306.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA474

    #AFA474

    oklch(71.6% 0.066 96.8)

  • #72AEBE

    #72AEBE

    oklch(71.6% 0.066 216.4)

  • #BF94B3

    #BF94B3

    oklch(71.6% 0.066 336.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA474

    #AFA474

    oklch(71.6% 0.066 96.8)

  • #72B1AA

    #72B1AA

    oklch(71.6% 0.066 187)

  • #98A0CD

    #98A0CD

    oklch(71.5% 0.066 276.7)

  • #C8939C

    #C8939C

    oklch(71.7% 0.065 7.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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