#AFA56E

Closest named color: Stone (#ADA587). oklch(71.7% 0.075 99.2), rgb(175, 165, 110).

Aa

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

About this color

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

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

Values

HEX#AFA56E
RGBrgb(175, 165, 110)
HSLhsl(51, 29%, 56%)
OKLCHoklch(71.7% 0.075 99.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 #AFA56E 2.49:1 Fails Lc -54.0 Large or bold text, headings
Black text on #AFA56E 8.43:1 AAA Lc 55.1 Large or bold text, headings
#AFA56E text on white 2.49:1 Fails Lc 48.9 Large or bold text, headings
#AFA56E 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)

    #AFA56E

    oklch(71.7% 0.075 99.2)

  6. Step 500

    500

    #988A41

    oklch(63% 0.095 98.6)

  7. Step 600

    600

    #82741E

    oklch(55.6% 0.104 99.6)

  8. Step 700

    700

    #6E610F

    oklch(49.1% 0.096 99.4)

  9. Step 800

    800

    #5A4F11

    oklch(42.6% 0.08 98.7)

  10. Step 900

    900

    #4A4217

    oklch(37.7% 0.062 98.8)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#AFA56E 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)#AFA26A0.008
Deuteranopia (no green cones)#B2A6700.006
Tritanopia (no blue cones)#B89E970.067
Achromatopsia (no color)#A4A4A40.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA56E

    #AFA56E

    oklch(71.7% 0.075 99.2)

  • #999FD2

    #999FD2

    oklch(71.6% 0.075 279.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA56E

    #AFA56E

    oklch(71.7% 0.075 99.2)

  • #C39C70

    #C39C70

    oklch(71.8% 0.075 69.5)

  • #95AD7B

    #95AD7B

    oklch(71.6% 0.075 129)

Open the analogous palette in the generator

Split complementary

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

  • #AFA56E

    #AFA56E

    oklch(71.7% 0.075 99.2)

  • #7FA8D1

    #7FA8D1

    oklch(71.7% 0.075 248.9)

  • #B297C8

    #B297C8

    oklch(71.7% 0.076 309.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA56E

    #AFA56E

    oklch(71.7% 0.075 99.2)

  • #6CAFC4

    #6CAFC4

    oklch(71.7% 0.075 219.9)

  • #C492B3

    #C492B3

    oklch(71.8% 0.074 339.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA56E

    #AFA56E

    oklch(71.7% 0.075 99.2)

  • #69B3AD

    #69B3AD

    oklch(71.7% 0.075 189)

  • #999FD2

    #999FD2

    oklch(71.6% 0.075 279.1)

  • #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 #AFA56E, closest first.

Similar named colors

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

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