#AFA76C

Closest named color: Stone (#ADA587). oklch(72.1% 0.079 101.5), rgb(175, 167, 108).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.56:1
White text2.45:1

Values

HEX#AFA76C
RGBrgb(175, 167, 108)
HSLhsl(53, 30%, 55%)
OKLCHoklch(72.1% 0.079 101.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 #AFA76C 2.45:1 Fails Lc -53.2 Large or bold text, headings
Black text on #AFA76C 8.56:1 AAA Lc 55.8 Large or bold text, headings
#AFA76C text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#AFA76C text on black 8.56:1 AAA Lc -53.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C7C29E

    oklch(80.9% 0.049 100.8)

  5. Step 400

    400 (this color)

    #AFA76C

    oklch(72.1% 0.079 101.5)

  6. Step 500

    500

    #968B3C

    oklch(63% 0.101 101.4)

  7. Step 600

    600

    #817514

    oklch(55.7% 0.11 101.7)

  8. Step 700

    700

    #6D6201

    oklch(49.1% 0.102 101.7)

  9. Step 800

    800

    #59500A

    oklch(42.7% 0.084 101.4)

  10. Step 900

    900

    #494213

    oklch(37.6% 0.066 100.8)

  11. Step 950

    950

    #2B270D

    oklch(27% 0.042 100.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA76C 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)#B1A3680.010
Deuteranopia (no green cones)#B4A76E0.008
Tritanopia (no blue cones)#B89F980.072
Achromatopsia (no color)#A5A5A50.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA76C

    #AFA76C

    oklch(72.1% 0.079 101.5)

  • #9C9FD6

    #9C9FD6

    oklch(72% 0.08 281.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA76C

    #AFA76C

    oklch(72.1% 0.079 101.5)

  • #C49D6D

    #C49D6D

    oklch(72.1% 0.079 71.8)

  • #93B07C

    #93B07C

    oklch(72.2% 0.079 131.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA76C

    #AFA76C

    oklch(72.1% 0.079 101.5)

  • #80A9D6

    #80A9D6

    oklch(72.2% 0.08 251.3)

  • #B597CA

    #B597CA

    oklch(72.1% 0.08 311)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA76C

    #AFA76C

    oklch(72.1% 0.079 101.5)

  • #6AB1C8

    #6AB1C8

    oklch(72.2% 0.079 220.8)

  • #C892B3

    #C892B3

    oklch(72.2% 0.078 342)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA76C

    #AFA76C

    oklch(72.1% 0.079 101.5)

  • #65B5B1

    #65B5B1

    oklch(72.1% 0.079 191.4)

  • #9C9FD6

    #9C9FD6

    oklch(72% 0.08 281.8)

  • #D19198

    #D19198

    oklch(72.2% 0.078 12)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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