#AFA973

Closest named color: Stone (#ADA587). oklch(72.7% 0.073 102.6), rgb(175, 169, 115).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.74:1
White text2.40:1

Values

HEX#AFA973
RGBrgb(175, 169, 115)
HSLhsl(54, 27%, 57%)
OKLCHoklch(72.7% 0.073 102.6)

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 #AFA973 2.40:1 Fails Lc -52.3 Large or bold text, headings
Black text on #AFA973 8.74:1 AAA Lc 56.7 Large or bold text, headings
#AFA973 text on white 2.40:1 Fails Lc 47.3 Large or bold text, headings
#AFA973 text on black 8.74:1 AAA Lc -54.7 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

    #C6C2A1

    oklch(80.9% 0.045 101.6)

  5. Step 400

    400 (this color)

    #AFA973

    oklch(72.7% 0.073 102.6)

  6. Step 500

    500

    #948C45

    oklch(63.2% 0.093 102.9)

  7. Step 600

    600

    #7F7523

    oklch(55.6% 0.101 102.2)

  8. Step 700

    700

    #6B6215

    oklch(49% 0.094 102.4)

  9. Step 800

    800

    #575015

    oklch(42.6% 0.078 102.4)

  10. Step 900

    900

    #484319

    oklch(37.8% 0.061 102.6)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA973 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)#B2A56F0.011
Deuteranopia (no green cones)#B5A9750.010
Tritanopia (no blue cones)#B8A29B0.066
Achromatopsia (no color)#A7A7A70.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA973

    #AFA973

    oklch(72.7% 0.073 102.6)

  • #9FA1D4

    #9FA1D4

    oklch(72.6% 0.074 282.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA973

    #AFA973

    oklch(72.7% 0.073 102.6)

  • #C3A073

    #C3A073

    oklch(72.7% 0.073 73.2)

  • #95B182

    #95B182

    oklch(72.7% 0.073 133)

Open the analogous palette in the generator

Split complementary

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

  • #AFA973

    #AFA973

    oklch(72.7% 0.073 102.6)

  • #86AAD4

    #86AAD4

    oklch(72.7% 0.073 252.7)

  • #B79AC8

    #B79AC8

    oklch(72.8% 0.073 312.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA973

    #AFA973

    oklch(72.7% 0.073 102.6)

  • #72B1C8

    #72B1C8

    oklch(72.6% 0.073 223.1)

  • #C895B3

    #C895B3

    oklch(72.7% 0.073 343)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA973

    #AFA973

    oklch(72.7% 0.073 102.6)

  • #6DB6B3

    #6DB6B3

    oklch(72.8% 0.073 192.3)

  • #9FA1D4

    #9FA1D4

    oklch(72.6% 0.074 282.6)

  • #D0949A

    #D0949A

    oklch(72.6% 0.073 12.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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