#AFA888

Closest named color: Bland (#AFA88B). oklch(72.9% 0.045 97.1), rgb(175, 168, 136).

Aa

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

About this color

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

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

Values

HEX#AFA888
RGBrgb(175, 168, 136)
HSLhsl(49, 20%, 61%)
OKLCHoklch(72.9% 0.045 97.1)

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 #AFA888 2.39:1 Fails Lc -52.1 Large or bold text, headings
Black text on #AFA888 8.77:1 AAA Lc 56.9 Large or bold text, headings
#AFA888 text on white 2.39:1 Fails Lc 47.1 Large or bold text, headings
#AFA888 text on black 8.77:1 AAA Lc -54.9 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DCD9CE

    oklch(88.5% 0.015 94.2)

  4. Step 300

    300

    #C5C1AD

    oklch(80.9% 0.028 97.7)

  5. Step 400

    400 (this color)

    #AFA888

    oklch(72.9% 0.045 97.1)

  6. Step 500

    500

    #938A62

    oklch(63.1% 0.057 97)

  7. Step 600

    600

    #7D7448

    oklch(55.6% 0.063 98.1)

  8. Step 700

    700

    #6A613A

    oklch(49.1% 0.058 96.7)

  9. Step 800

    800

    #564F30

    oklch(42.6% 0.048 97)

  10. Step 900

    900

    #47422B

    oklch(37.8% 0.037 97.4)

  11. Step 950

    950

    #2A2719

    oklch(27.2% 0.025 97.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA888 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)#AFA6860.005
Deuteranopia (no green cones)#B1A9890.004
Tritanopia (no blue cones)#B5A39F0.041
Achromatopsia (no color)#A7A7A70.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA888

    #AFA888

    oklch(72.9% 0.045 97.1)

  • #A0A5C4

    #A0A5C4

    oklch(72.8% 0.045 278)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA888

    #AFA888

    oklch(72.9% 0.045 97.1)

  • #BBA38A

    #BBA38A

    oklch(73% 0.045 68.2)

  • #A0AD8F

    #A0AD8F

    oklch(72.9% 0.045 126.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA888

    #AFA888

    oklch(72.9% 0.045 97.1)

  • #91ABC3

    #91ABC3

    oklch(73% 0.045 246.3)

  • #AFA0BE

    #AFA0BE

    oklch(72.8% 0.046 307.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA888

    #AFA888

    oklch(72.9% 0.045 97.1)

  • #88AFBA

    #88AFBA

    oklch(72.9% 0.045 216.9)

  • #BB9DB2

    #BB9DB2

    oklch(72.9% 0.046 337)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA888

    #AFA888

    oklch(72.9% 0.045 97.1)

  • #88B1AC

    #88B1AC

    oklch(72.9% 0.045 187)

  • #A0A5C4

    #A0A5C4

    oklch(72.8% 0.045 278)

  • #C19CA2

    #C19CA2

    oklch(72.8% 0.045 7.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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