#AFA679

Closest named color: Stone (#ADA587). oklch(72.2% 0.062 98.2), rgb(175, 166, 121).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.55:1
White text2.45:1

Values

HEX#AFA679
RGBrgb(175, 166, 121)
HSLhsl(50, 25%, 58%)
OKLCHoklch(72.2% 0.062 98.2)

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 #AFA679 2.45:1 Fails Lc -53.3 Large or bold text, headings
Black text on #AFA679 8.55:1 AAA Lc 55.7 Large or bold text, headings
#AFA679 text on white 2.45:1 Fails Lc 48.3 Large or bold text, headings
#AFA679 text on black 8.55:1 AAA Lc -53.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDDACA

    oklch(88.6% 0.022 98.1)

  4. Step 300

    300

    #C7C1A5

    oklch(80.8% 0.039 97.2)

  5. Step 400

    400 (this color)

    #AFA679

    oklch(72.2% 0.062 98.2)

  6. Step 500

    500

    #968A50

    oklch(63.1% 0.079 97.9)

  7. Step 600

    600

    #817433

    oklch(55.7% 0.087 98.1)

  8. Step 700

    700

    #6D6126

    oklch(49.1% 0.08 97.8)

  9. Step 800

    800

    #594F21

    oklch(42.7% 0.066 97.2)

  10. Step 900

    900

    #494220

    oklch(37.8% 0.052 98)

  11. Step 950

    950

    #2B2713

    oklch(27.1% 0.034 98.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA679 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)#AFA3760.008
Deuteranopia (no green cones)#B1A77B0.005
Tritanopia (no blue cones)#B7A09A0.055
Achromatopsia (no color)#A5A5A50.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA679

    #AFA679

    oklch(72.2% 0.062 98.2)

  • #9CA2CC

    #9CA2CC

    oklch(72.2% 0.061 278.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA679

    #AFA679

    oklch(72.2% 0.062 98.2)

  • #BF9E7B

    #BF9E7B

    oklch(72% 0.062 68.2)

  • #9AAD83

    #9AAD83

    oklch(72.2% 0.062 127.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA679

    #AFA679

    oklch(72.2% 0.062 98.2)

  • #87A9CB

    #87A9CB

    oklch(72.2% 0.062 248.7)

  • #B09BC4

    #B09BC4

    oklch(72.2% 0.063 308)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA679

    #AFA679

    oklch(72.2% 0.062 98.2)

  • #78AFBF

    #78AFBF

    oklch(72.2% 0.062 217.9)

  • #C096B3

    #C096B3

    oklch(72.1% 0.064 337.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA679

    #AFA679

    oklch(72.2% 0.062 98.2)

  • #77B2AC

    #77B2AC

    oklch(72.1% 0.062 187.9)

  • #9CA2CC

    #9CA2CC

    oklch(72.2% 0.061 278.4)

  • #C8959D

    #C8959D

    oklch(72.1% 0.062 8.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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