#AFAC8E

Closest named color: Bland (#AFA88B). oklch(73.9% 0.042 102.6), rgb(175, 172, 142).

Aa

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

About this color

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

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

Values

HEX#AFAC8E
RGBrgb(175, 172, 142)
HSLhsl(55, 17%, 62%)
OKLCHoklch(73.9% 0.042 102.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 #AFAC8E 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #AFAC8E 9.11:1 AAA Lc 58.5 Large or bold text, headings
#AFAC8E text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#AFAC8E text on black 9.11:1 AAA Lc -56.6 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

    #C3C2AF

    oklch(81% 0.026 104.5)

  5. Step 400

    400 (this color)

    #AFAC8E

    oklch(73.9% 0.042 102.6)

  6. Step 500

    500

    #8F8B66

    oklch(63.1% 0.053 102.6)

  7. Step 600

    600

    #79754D

    oklch(55.6% 0.058 103.2)

  8. Step 700

    700

    #66623E

    oklch(49% 0.053 102.7)

  9. Step 800

    800

    #535033

    oklch(42.6% 0.045 103.1)

  10. Step 900

    900

    #45432D

    oklch(37.8% 0.035 103.5)

  11. Step 950

    950

    #28271A

    oklch(27% 0.023 104.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAC8E 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)#B2AA8C0.006
Deuteranopia (no green cones)#B3AC8F0.006
Tritanopia (no blue cones)#B4A8A40.037
Achromatopsia (no color)#ABABAB0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAC8E

    #AFAC8E

    oklch(73.9% 0.042 102.6)

  • #A6A8C5

    #A6A8C5

    oklch(74% 0.042 282.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAC8E

    #AFAC8E

    oklch(73.9% 0.042 102.6)

  • #BBA78E

    #BBA78E

    oklch(73.9% 0.042 73.3)

  • #A1B096

    #A1B096

    oklch(73.8% 0.04 131.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAC8E

    #AFAC8E

    oklch(73.9% 0.042 102.6)

  • #98ADC5

    #98ADC5

    oklch(74% 0.042 251.9)

  • #B4A3BE

    #B4A3BE

    oklch(73.9% 0.043 313.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAC8E

    #AFAC8E

    oklch(73.9% 0.042 102.6)

  • #8FB1BE

    #8FB1BE

    oklch(74% 0.041 223.1)

  • #BEA1B2

    #BEA1B2

    oklch(74% 0.041 342.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAC8E

    #AFAC8E

    oklch(73.9% 0.042 102.6)

  • #8DB3B1

    #8DB3B1

    oklch(73.8% 0.041 192.3)

  • #A6A8C5

    #A6A8C5

    oklch(74% 0.042 282.2)

  • #C3A0A3

    #C3A0A3

    oklch(73.8% 0.042 12.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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