#AFA885

Closest named color: Bland (#AFA88B). oklch(72.8% 0.049 98), rgb(175, 168, 133).

Aa

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

About this color

#AFA885 is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.049 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.008 away. Black text reads best on it, at 8.76:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.76:1
White text2.39:1

Values

HEX#AFA885
RGBrgb(175, 168, 133)
HSLhsl(50, 21%, 60%)
OKLCHoklch(72.8% 0.049 98)

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 #AFA885 2.39:1 Fails Lc -52.2 Large or bold text, headings
Black text on #AFA885 8.76:1 AAA Lc 56.8 Large or bold text, headings
#AFA885 text on white 2.39:1 Fails Lc 47.2 Large or bold text, headings
#AFA885 text on black 8.76:1 AAA Lc -54.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C5C1AB

    oklch(80.8% 0.03 98.6)

  5. Step 400

    400 (this color)

    #AFA885

    oklch(72.8% 0.049 98)

  6. Step 500

    500

    #938A5E

    oklch(63% 0.062 98)

  7. Step 600

    600

    #7E7444

    oklch(55.7% 0.068 97.9)

  8. Step 700

    700

    #6A6136

    oklch(49.1% 0.062 97.8)

  9. Step 800

    800

    #564F2D

    oklch(42.6% 0.052 98)

  10. Step 900

    900

    #474228

    oklch(37.7% 0.041 98.7)

  11. Step 950

    950

    #2A2718

    oklch(27.1% 0.026 98.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFA885 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)#AFA6830.005
Deuteranopia (no green cones)#B1A9860.004
Tritanopia (no blue cones)#B6A39E0.044
Achromatopsia (no color)#A7A7A70.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA885

    #AFA885

    oklch(72.8% 0.049 98)

  • #9FA5C6

    #9FA5C6

    oklch(72.8% 0.048 277)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA885

    #AFA885

    oklch(72.8% 0.049 98)

  • #BCA287

    #BCA287

    oklch(72.8% 0.048 68)

  • #9EAD8D

    #9EAD8D

    oklch(72.7% 0.048 128)

Open the analogous palette in the generator

Split complementary

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

  • #AFA885

    #AFA885

    oklch(72.8% 0.049 98)

  • #8FABC5

    #8FABC5

    oklch(72.9% 0.049 246.5)

  • #B09FBF

    #B09FBF

    oklch(72.8% 0.049 309)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA885

    #AFA885

    oklch(72.8% 0.049 98)

  • #85AFBC

    #85AFBC

    oklch(72.8% 0.049 218.8)

  • #BC9CB2

    #BC9CB2

    oklch(72.8% 0.048 337.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA885

    #AFA885

    oklch(72.8% 0.049 98)

  • #84B2AD

    #84B2AD

    oklch(72.9% 0.05 187.8)

  • #9FA5C6

    #9FA5C6

    oklch(72.8% 0.048 277)

  • #C39BA1

    #C39BA1

    oklch(72.8% 0.048 8.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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