#AFAA81

Closest named color: Bland (#AFA88B). oklch(73.2% 0.056 101.9), rgb(175, 170, 129).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.88:1
White text2.36:1

Values

HEX#AFAA81
RGBrgb(175, 170, 129)
HSLhsl(53, 22%, 60%)
OKLCHoklch(73.2% 0.056 101.9)

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 #AFAA81 2.36:1 Fails Lc -51.5 Large or bold text, headings
Black text on #AFAA81 8.88:1 AAA Lc 57.4 Large or bold text, headings
#AFAA81 text on white 2.36:1 Fails Lc 46.6 Large or bold text, headings
#AFAA81 text on black 8.88:1 AAA Lc -55.5 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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DBDACB

    oklch(88.5% 0.02 103.7)

  4. Step 300

    300

    #C5C2A8

    oklch(80.9% 0.036 101.7)

  5. Step 400

    400 (this color)

    #AFAA81

    oklch(73.2% 0.056 101.9)

  6. Step 500

    500

    #928B57

    oklch(63% 0.072 101.6)

  7. Step 600

    600

    #7D753C

    oklch(55.7% 0.078 101.4)

  8. Step 700

    700

    #69622E

    oklch(49.1% 0.073 101.7)

  9. Step 800

    800

    #565027

    oklch(42.7% 0.06 101.1)

  10. Step 900

    900

    #474324

    oklch(37.9% 0.048 101.9)

  11. Step 950

    950

    #292716

    oklch(27% 0.029 102.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA81 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)#B2A77E0.008
Deuteranopia (no green cones)#B3AA820.006
Tritanopia (no blue cones)#B6A49F0.051
Achromatopsia (no color)#A9A9A90.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA81

    #AFAA81

    oklch(73.2% 0.056 101.9)

  • #A2A5CC

    #A2A5CC

    oklch(73.3% 0.056 281.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA81

    #AFAA81

    oklch(73.2% 0.056 101.9)

  • #BFA382

    #BFA382

    oklch(73.2% 0.056 71.4)

  • #9BB08C

    #9BB08C

    oklch(73.1% 0.056 132.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA81

    #AFAA81

    oklch(73.2% 0.056 101.9)

  • #8FABCB

    #8FABCB

    oklch(73.1% 0.056 252)

  • #B49FC3

    #B49FC3

    oklch(73.3% 0.056 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA81

    #AFAA81

    oklch(73.2% 0.056 101.9)

  • #81B1C2

    #81B1C2

    oklch(73.2% 0.056 221.8)

  • #C29BB2

    #C29BB2

    oklch(73.2% 0.056 342.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA81

    #AFAA81

    oklch(73.2% 0.056 101.9)

  • #7EB4B1

    #7EB4B1

    oklch(73.2% 0.057 191.6)

  • #A2A5CC

    #A2A5CC

    oklch(73.3% 0.056 281.5)

  • #C99A9F

    #C99A9F

    oklch(73.2% 0.057 11.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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