#AFA76E

Closest named color: Stone (#ADA587). oklch(72.2% 0.077 101.2), rgb(175, 167, 110).

Aa

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

About this color

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

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

Values

HEX#AFA76E
RGBrgb(175, 167, 110)
HSLhsl(53, 29%, 56%)
OKLCHoklch(72.2% 0.077 101.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 #AFA76E 2.44:1 Fails Lc -53.2 Large or bold text, headings
Black text on #AFA76E 8.57:1 AAA Lc 55.8 Large or bold text, headings
#AFA76E text on white 2.44:1 Fails Lc 48.2 Large or bold text, headings
#AFA76E 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

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C7C29F

    oklch(80.9% 0.048 100.6)

  5. Step 400

    400 (this color)

    #AFA76E

    oklch(72.2% 0.077 101.2)

  6. Step 500

    500

    #968B3F

    oklch(63% 0.098 101.2)

  7. Step 600

    600

    #81751A

    oklch(55.7% 0.107 101.4)

  8. Step 700

    700

    #6D6209

    oklch(49.2% 0.099 101.4)

  9. Step 800

    800

    #59500E

    oklch(42.8% 0.082 101.1)

  10. Step 900

    900

    #494215

    oklch(37.6% 0.064 100.4)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA76E 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)#B1A36A0.010
Deuteranopia (no green cones)#B4A7700.008
Tritanopia (no blue cones)#B89F990.071
Achromatopsia (no color)#A5A5A50.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA76E

    #AFA76E

    oklch(72.2% 0.077 101.2)

  • #9CA0D5

    #9CA0D5

    oklch(72.2% 0.077 280.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA76E

    #AFA76E

    oklch(72.2% 0.077 101.2)

  • #C49D6F

    #C49D6F

    oklch(72.1% 0.077 70.7)

  • #94AF7D

    #94AF7D

    oklch(72.1% 0.076 131.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA76E

    #AFA76E

    oklch(72.2% 0.077 101.2)

  • #81A9D4

    #81A9D4

    oklch(72.2% 0.077 250.7)

  • #B598C9

    #B598C9

    oklch(72.2% 0.077 311.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA76E

    #AFA76E

    oklch(72.2% 0.077 101.2)

  • #6CB0C7

    #6CB0C7

    oklch(72% 0.076 221.6)

  • #C792B3

    #C792B3

    oklch(72.1% 0.077 341.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA76E

    #AFA76E

    oklch(72.2% 0.077 101.2)

  • #68B5B1

    #68B5B1

    oklch(72.2% 0.077 191.3)

  • #9CA0D5

    #9CA0D5

    oklch(72.2% 0.077 280.9)

  • #D09199

    #D09199

    oklch(72.1% 0.077 10.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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