#AFAF8A

Closest named color: Bland (#AFA88B). oklch(74.4% 0.051 107.6), rgb(175, 175, 138).

Aa

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

About this color

#AFAF8A is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.051 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.020 away. Black text reads best on it, at 9.32:1.

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

Values

HEX#AFAF8A
RGBrgb(175, 175, 138)
HSLhsl(60, 19%, 61%)
OKLCHoklch(74.4% 0.051 107.6)

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 #AFAF8A 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #AFAF8A 9.32:1 AAA Lc 59.6 Large or bold text, headings
#AFAF8A text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#AFAF8A text on black 9.32:1 AAA Lc -57.7 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

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACD

    oklch(88.5% 0.018 106.8)

  4. Step 300

    300

    #C2C2AB

    oklch(80.8% 0.031 107.1)

  5. Step 400

    400 (this color)

    #AFAF8A

    oklch(74.4% 0.051 107.6)

  6. Step 500

    500

    #8D8D5E

    oklch(63.2% 0.066 108.1)

  7. Step 600

    600

    #777644

    oklch(55.5% 0.07 107.5)

  8. Step 700

    700

    #646336

    oklch(48.9% 0.065 107.5)

  9. Step 800

    800

    #52512D

    oklch(42.7% 0.054 107.1)

  10. Step 900

    900

    #444328

    oklch(37.6% 0.042 106.4)

  11. Step 950

    950

    #282718

    oklch(26.9% 0.026 104.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFAF8A 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)#B5AC880.011
Deuteranopia (no green cones)#B6AD8B0.011
Tritanopia (no blue cones)#B5AAA50.046
Achromatopsia (no color)#ADADAD0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAF8A

    #AFAF8A

    oklch(74.4% 0.051 107.6)

  • #AAA8CB

    #AAA8CB

    oklch(74.5% 0.05 287.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAF8A

    #AFAF8A

    oklch(74.4% 0.051 107.6)

  • #BEA988

    #BEA988

    oklch(74.5% 0.051 79)

  • #9DB495

    #9DB495

    oklch(74.4% 0.05 137.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFAF8A

    #AFAF8A

    oklch(74.4% 0.051 107.6)

  • #98AECD

    #98AECD

    oklch(74.5% 0.051 257)

  • #BAA3C2

    #BAA3C2

    oklch(74.5% 0.051 317.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAF8A

    #AFAF8A

    oklch(74.4% 0.051 107.6)

  • #8BB3C6

    #8BB3C6

    oklch(74.4% 0.051 228.6)

  • #C5A0B2

    #C5A0B2

    oklch(74.5% 0.05 347.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAF8A

    #AFAF8A

    oklch(74.4% 0.051 107.6)

  • #86B7B7

    #86B7B7

    oklch(74.5% 0.052 196.1)

  • #AAA8CB

    #AAA8CB

    oklch(74.5% 0.05 287.7)

  • #CBA0A0

    #CBA0A0

    oklch(74.5% 0.051 18.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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