#AFA76D

Closest named color: Stone (#ADA587). oklch(72.1% 0.078 101.4), rgb(175, 167, 109).

Aa

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

About this color

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

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

Values

HEX#AFA76D
RGBrgb(175, 167, 109)
HSLhsl(53, 29%, 56%)
OKLCHoklch(72.1% 0.078 101.4)

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 #AFA76D 2.45:1 Fails Lc -53.2 Large or bold text, headings
Black text on #AFA76D 8.57:1 AAA Lc 55.8 Large or bold text, headings
#AFA76D text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#AFA76D text on black 8.57: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)

    #AFA76D

    oklch(72.1% 0.078 101.4)

  6. Step 500

    500

    #968B3E

    oklch(63% 0.099 101.3)

  7. Step 600

    600

    #817517

    oklch(55.7% 0.108 101.6)

  8. Step 700

    700

    #6D6205

    oklch(49.1% 0.101 101.6)

  9. Step 800

    800

    #59500C

    oklch(42.7% 0.083 101.2)

  10. Step 900

    900

    #494214

    oklch(37.6% 0.065 100.6)

  11. Step 950

    950

    #2B270D

    oklch(27% 0.042 100.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA76D 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)#B1A3690.010
Deuteranopia (no green cones)#B4A76F0.008
Tritanopia (no blue cones)#B89F980.071
Achromatopsia (no color)#A5A5A50.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA76D

    #AFA76D

    oklch(72.1% 0.078 101.4)

  • #9CA0D5

    #9CA0D5

    oklch(72.2% 0.077 280.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA76D

    #AFA76D

    oklch(72.1% 0.078 101.4)

  • #C49D6E

    #C49D6E

    oklch(72.1% 0.078 71.3)

  • #94B07C

    #94B07C

    oklch(72.3% 0.079 131.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA76D

    #AFA76D

    oklch(72.1% 0.078 101.4)

  • #81A9D5

    #81A9D5

    oklch(72.2% 0.078 251.3)

  • #B597C9

    #B597C9

    oklch(72% 0.078 311.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA76D

    #AFA76D

    oklch(72.1% 0.078 101.4)

  • #6BB1C8

    #6BB1C8

    oklch(72.3% 0.078 221.1)

  • #C792B3

    #C792B3

    oklch(72.1% 0.077 341.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA76D

    #AFA76D

    oklch(72.1% 0.078 101.4)

  • #66B5B1

    #66B5B1

    oklch(72.1% 0.078 191.3)

  • #9CA0D5

    #9CA0D5

    oklch(72.2% 0.077 280.9)

  • #D19199

    #D19199

    oklch(72.2% 0.078 11)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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