#AFA56A

Closest named color: Dust (#B2996E). oklch(71.7% 0.079 99.8), rgb(175, 165, 106).

Aa

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

About this color

#AFA56A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.079 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.035 away. Black text reads best on it, at 8.41:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.41:1
White text2.49:1

Values

HEX#AFA56A
RGBrgb(175, 165, 106)
HSLhsl(51, 30%, 55%)
OKLCHoklch(71.7% 0.079 99.8)

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 #AFA56A 2.49:1 Fails Lc -54.1 Large or bold text, headings
Black text on #AFA56A 8.41:1 AAA Lc 55.0 Large or bold text, headings
#AFA56A text on white 2.49:1 Fails Lc 49.0 Large or bold text, headings
#AFA56A text on black 8.41:1 AAA Lc -53.0 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

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C8C29D

    oklch(80.9% 0.05 99.8)

  5. Step 400

    400 (this color)

    #AFA56A

    oklch(71.7% 0.079 99.8)

  6. Step 500

    500

    #988B3B

    oklch(63.2% 0.102 100.1)

  7. Step 600

    600

    #837411

    oklch(55.6% 0.11 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5A4F08

    oklch(42.6% 0.085 99.5)

  10. Step 900

    900

    #4A4213

    oklch(37.7% 0.066 99.5)

  11. Step 950

    950

    #2B270D

    oklch(27% 0.042 100.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA56A 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)#B0A2660.008
Deuteranopia (no green cones)#B3A66C0.007
Tritanopia (no blue cones)#B99D960.072
Achromatopsia (no color)#A4A4A40.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA56A

    #AFA56A

    oklch(71.7% 0.079 99.8)

  • #999FD5

    #999FD5

    oklch(71.7% 0.079 279.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA56A

    #AFA56A

    oklch(71.7% 0.079 99.8)

  • #C49B6C

    #C49B6C

    oklch(71.7% 0.08 69.8)

  • #93AE79

    #93AE79

    oklch(71.7% 0.08 130.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA56A

    #AFA56A

    oklch(71.7% 0.079 99.8)

  • #7DA8D4

    #7DA8D4

    oklch(71.7% 0.08 249.6)

  • #B396C9

    #B396C9

    oklch(71.7% 0.079 310.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA56A

    #AFA56A

    oklch(71.7% 0.079 99.8)

  • #67B0C6

    #67B0C6

    oklch(71.8% 0.08 219.4)

  • #C690B3

    #C690B3

    oklch(71.6% 0.08 340.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA56A

    #AFA56A

    oklch(71.7% 0.079 99.8)

  • #64B4AE

    #64B4AE

    oklch(71.7% 0.079 189.3)

  • #999FD5

    #999FD5

    oklch(71.7% 0.079 279.3)

  • #D08F98

    #D08F98

    oklch(71.7% 0.08 10.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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