#AFAC8D

Closest named color: Bland (#AFA88B). oklch(73.9% 0.043 102.8), rgb(175, 172, 141).

Aa

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

About this color

#AFAC8D is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.043 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.10:1.

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

Values

HEX#AFAC8D
RGBrgb(175, 172, 141)
HSLhsl(55, 18%, 62%)
OKLCHoklch(73.9% 0.043 102.8)

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 #AFAC8D 2.30:1 Fails Lc -50.4 Large or bold text, headings
Black text on #AFAC8D 9.10:1 AAA Lc 58.5 Large or bold text, headings
#AFAC8D text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#AFAC8D text on black 9.10: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

    #C3C2AE

    oklch(80.9% 0.027 104.7)

  5. Step 400

    400 (this color)

    #AFAC8D

    oklch(73.9% 0.043 102.8)

  6. Step 500

    500

    #8F8B64

    oklch(63% 0.055 102.9)

  7. Step 600

    600

    #7A754B

    oklch(55.6% 0.06 102.3)

  8. Step 700

    700

    #66623C

    oklch(49% 0.056 103.1)

  9. Step 800

    800

    #535032

    oklch(42.6% 0.046 103.3)

  10. Step 900

    900

    #45432C

    oklch(37.8% 0.037 103.8)

  11. Step 950

    950

    #28271A

    oklch(27% 0.023 104.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAC8D 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)#B2AA8B0.006
Deuteranopia (no green cones)#B3AC8E0.006
Tritanopia (no blue cones)#B4A8A30.037
Achromatopsia (no color)#ABABAB0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAC8D

    #AFAC8D

    oklch(73.9% 0.043 102.8)

  • #A6A8C5

    #A6A8C5

    oklch(74% 0.042 282.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAC8D

    #AFAC8D

    oklch(73.9% 0.043 102.8)

  • #BBA78D

    #BBA78D

    oklch(73.9% 0.043 74.3)

  • #A0B195

    #A0B195

    oklch(73.9% 0.044 133.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFAC8D

    #AFAC8D

    oklch(73.9% 0.043 102.8)

  • #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.

  • #AFAC8D

    #AFAC8D

    oklch(73.9% 0.043 102.8)

  • #8EB1BE

    #8EB1BE

    oklch(73.9% 0.042 222.5)

  • #BFA0B2

    #BFA0B2

    oklch(73.9% 0.044 342.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAC8D

    #AFAC8D

    oklch(73.9% 0.043 102.8)

  • #8BB3B2

    #8BB3B2

    oklch(73.7% 0.043 194.4)

  • #A6A8C5

    #A6A8C5

    oklch(74% 0.042 282.2)

  • #C4A0A3

    #C4A0A3

    oklch(73.9% 0.043 12.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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