#AFA893

Closest named color: Bland (#AFA88B). oklch(73.2% 0.03 91.7), rgb(175, 168, 147).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.030)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.84:1
White text2.37:1

Values

HEX#AFA893
RGBrgb(175, 168, 147)
HSLhsl(45, 15%, 63%)
OKLCHoklch(73.2% 0.03 91.7)

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 #AFA893 2.37:1 Fails Lc -51.8 Large or bold text, headings
Black text on #AFA893 8.84:1 AAA Lc 57.2 Large or bold text, headings
#AFA893 text on white 2.37:1 Fails Lc 46.8 Large or bold text, headings
#AFA893 text on black 8.84:1 AAA Lc -55.2 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

    #EBEAE6

    oklch(93.7% 0.005 95.1)

  3. Step 200

    200

    #DBD9D1

    oklch(88.5% 0.011 95.2)

  4. Step 300

    300

    #C5C0B3

    oklch(80.8% 0.019 89.4)

  5. Step 400

    400 (this color)

    #AFA893

    oklch(73.2% 0.03 91.7)

  6. Step 500

    500

    #92896F

    oklch(63.1% 0.039 91.2)

  7. Step 600

    600

    #7C7357

    oklch(55.6% 0.042 92.4)

  8. Step 700

    700

    #696047

    oklch(49.1% 0.039 90.6)

  9. Step 800

    800

    #554F3B

    oklch(42.8% 0.032 93.4)

  10. Step 900

    900

    #464132

    oklch(37.6% 0.025 91.8)

  11. Step 950

    950

    #29261E

    oklch(26.9% 0.015 89.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA893 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)#ADA7920.004
Deuteranopia (no green cones)#AFA9940.003
Tritanopia (no blue cones)#B4A5A20.027
Achromatopsia (no color)#A8A8A80.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA893

    #AFA893

    oklch(73.2% 0.03 91.7)

  • #A1A8BC

    #A1A8BC

    oklch(73.2% 0.03 270.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA893

    #AFA893

    oklch(73.2% 0.03 91.7)

  • #B7A495

    #B7A495

    oklch(73.1% 0.031 60.6)

  • #A5AC97

    #A5AC97

    oklch(73.3% 0.031 122.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA893

    #AFA893

    oklch(73.2% 0.03 91.7)

  • #98ABBA

    #98ABBA

    oklch(73.1% 0.03 241.8)

  • #ABA4B9

    #ABA4B9

    oklch(73.1% 0.031 300.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA893

    #AFA893

    oklch(73.2% 0.03 91.7)

  • #93AEB3

    #93AEB3

    oklch(73.2% 0.031 210.1)

  • #B4A2B1

    #B4A2B1

    oklch(73.2% 0.03 331.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA893

    #AFA893

    oklch(73.2% 0.03 91.7)

  • #94AFA9

    #94AFA9

    oklch(73.2% 0.031 180.5)

  • #A1A8BC

    #A1A8BC

    oklch(73.2% 0.03 270.3)

  • #BAA1A7

    #BAA1A7

    oklch(73.3% 0.03 1.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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