#AFAB8D

Closest named color: Bland (#AFA88B). oklch(73.7% 0.042 101.1), rgb(175, 171, 141).

Aa

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

About this color

#AFAB8D is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.042 and its hue 101°. 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 9.03:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.03:1
White text2.32:1

Values

HEX#AFAB8D
RGBrgb(175, 171, 141)
HSLhsl(53, 18%, 62%)
OKLCHoklch(73.7% 0.042 101.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 #AFAB8D 2.32:1 Fails Lc -50.8 Large or bold text, headings
Black text on #AFAB8D 9.03:1 AAA Lc 58.1 Large or bold text, headings
#AFAB8D text on white 2.32:1 Fails Lc 45.9 Large or bold text, headings
#AFAB8D text on black 9.03:1 AAA Lc -56.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

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DBDACF

    oklch(88.6% 0.015 102.5)

  4. Step 300

    300

    #C4C1AE

    oklch(80.8% 0.026 99.6)

  5. Step 400

    400 (this color)

    #AFAB8D

    oklch(73.7% 0.042 101.1)

  6. Step 500

    500

    #908B65

    oklch(63.1% 0.054 101.5)

  7. Step 600

    600

    #7A754C

    oklch(55.6% 0.059 102.1)

  8. Step 700

    700

    #67623D

    oklch(49.1% 0.055 101.5)

  9. Step 800

    800

    #545033

    oklch(42.7% 0.045 101.3)

  10. Step 900

    900

    #45422D

    oklch(37.6% 0.034 101)

  11. Step 950

    950

    #29271A

    oklch(27.1% 0.023 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFAB8D 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)#B1A98B0.006
Deuteranopia (no green cones)#B2AB8E0.005
Tritanopia (no blue cones)#B5A7A30.038
Achromatopsia (no color)#AAAAAA0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAB8D

    #AFAB8D

    oklch(73.7% 0.042 101.1)

  • #A4A7C4

    #A4A7C4

    oklch(73.6% 0.042 280.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAB8D

    #AFAB8D

    oklch(73.7% 0.042 101.1)

  • #BBA68E

    #BBA68E

    oklch(73.7% 0.041 70.8)

  • #A1B094

    #A1B094

    oklch(73.8% 0.043 130.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFAB8D

    #AFAB8D

    oklch(73.7% 0.042 101.1)

  • #97ACC4

    #97ACC4

    oklch(73.6% 0.042 251.9)

  • #B2A3BE

    #B2A3BE

    oklch(73.7% 0.042 310.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAB8D

    #AFAB8D

    oklch(73.7% 0.042 101.1)

  • #8DB0BC

    #8DB0BC

    oklch(73.5% 0.042 220.7)

  • #BDA0B2

    #BDA0B2

    oklch(73.7% 0.042 340.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAB8D

    #AFAB8D

    oklch(73.7% 0.042 101.1)

  • #8CB3B0

    #8CB3B0

    oklch(73.7% 0.042 190.4)

  • #A4A7C4

    #A4A7C4

    oklch(73.6% 0.042 280.7)

  • #C29FA3

    #C29FA3

    oklch(73.5% 0.042 10.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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