#AFA56F

Closest named color: Stone (#ADA587). oklch(71.7% 0.073 99), rgb(175, 165, 111).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.43:1
White text2.48:1

Values

HEX#AFA56F
RGBrgb(175, 165, 111)
HSLhsl(51, 29%, 56%)
OKLCHoklch(71.7% 0.073 99)

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 #AFA56F 2.48:1 Fails Lc -53.9 Large or bold text, headings
Black text on #AFA56F 8.43:1 AAA Lc 55.1 Large or bold text, headings
#AFA56F text on white 2.48:1 Fails Lc 48.9 Large or bold text, headings
#AFA56F text on black 8.43:1 AAA Lc -53.1 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

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C2A0

    oklch(81% 0.046 99)

  5. Step 400

    400 (this color)

    #AFA56F

    oklch(71.7% 0.073 99)

  6. Step 500

    500

    #988A43

    oklch(63.1% 0.093 98.4)

  7. Step 600

    600

    #827420

    oklch(55.6% 0.102 99.5)

  8. Step 700

    700

    #6E6112

    oklch(49.1% 0.095 99.2)

  9. Step 800

    800

    #5A4F13

    oklch(42.7% 0.078 98.5)

  10. Step 900

    900

    #4A4218

    oklch(37.8% 0.061 98.6)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#AFA56F 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)#AFA26B0.008
Deuteranopia (no green cones)#B2A6710.006
Tritanopia (no blue cones)#B89E970.066
Achromatopsia (no color)#A4A4A40.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA56F

    #AFA56F

    oklch(71.7% 0.073 99)

  • #99A0D2

    #99A0D2

    oklch(71.8% 0.073 278.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA56F

    #AFA56F

    oklch(71.7% 0.073 99)

  • #C29C71

    #C29C71

    oklch(71.7% 0.074 69.7)

  • #96AD7C

    #96AD7C

    oklch(71.7% 0.073 128.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA56F

    #AFA56F

    oklch(71.7% 0.073 99)

  • #80A8D0

    #80A8D0

    oklch(71.7% 0.073 248.9)

  • #B198C7

    #B198C7

    oklch(71.8% 0.072 308.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA56F

    #AFA56F

    oklch(71.7% 0.073 99)

  • #6DAFC3

    #6DAFC3

    oklch(71.7% 0.073 219.2)

  • #C392B3

    #C392B3

    oklch(71.7% 0.074 338.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA56F

    #AFA56F

    oklch(71.7% 0.073 99)

  • #6BB3AD

    #6BB3AD

    oklch(71.8% 0.073 188.8)

  • #99A0D2

    #99A0D2

    oklch(71.8% 0.073 278.2)

  • #CD919A

    #CD919A

    oklch(71.8% 0.074 9.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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