#AFAC7E

Closest named color: Bland (#AFA88B). oklch(73.5% 0.063 104.7), rgb(175, 172, 126).

Aa

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

About this color

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

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

Values

HEX#AFAC7E
RGBrgb(175, 172, 126)
HSLhsl(56, 23%, 59%)
OKLCHoklch(73.5% 0.063 104.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 #AFAC7E 2.32:1 Fails Lc -50.8 Large or bold text, headings
Black text on #AFAC7E 9.02:1 AAA Lc 58.1 Large or bold text, headings
#AFAC7E text on white 2.32:1 Fails Lc 45.9 Large or bold text, headings
#AFAC7E text on black 9.02: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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DBDACA

    oklch(88.5% 0.022 103.9)

  4. Step 300

    300

    #C4C2A6

    oklch(80.8% 0.038 103.9)

  5. Step 400

    400 (this color)

    #AFAC7E

    oklch(73.5% 0.063 104.7)

  6. Step 500

    500

    #918C51

    oklch(63.1% 0.08 104.2)

  7. Step 600

    600

    #7B7635

    oklch(55.6% 0.087 104.8)

  8. Step 700

    700

    #686327

    oklch(49.1% 0.081 104.5)

  9. Step 800

    800

    #555122

    oklch(42.8% 0.067 104.4)

  10. Step 900

    900

    #464321

    oklch(37.7% 0.052 104.1)

  11. Step 950

    950

    #292714

    oklch(26.9% 0.032 103.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAC7E 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)#B4A97B0.010
Deuteranopia (no green cones)#B6AB800.011
Tritanopia (no blue cones)#B6A6A00.056
Achromatopsia (no color)#AAAAAA0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAC7E

    #AFAC7E

    oklch(73.5% 0.063 104.7)

  • #A4A4D0

    #A4A4D0

    oklch(73.4% 0.063 284.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAC7E

    #AFAC7E

    oklch(73.5% 0.063 104.7)

  • #C1A47D

    #C1A47D

    oklch(73.5% 0.063 74.8)

  • #99B38B

    #99B38B

    oklch(73.6% 0.063 134.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFAC7E

    #AFAC7E

    oklch(73.5% 0.063 104.7)

  • #8FACD1

    #8FACD1

    oklch(73.6% 0.063 254.7)

  • #B89EC5

    #B89EC5

    oklch(73.5% 0.062 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAC7E

    #AFAC7E

    oklch(73.5% 0.063 104.7)

  • #7EB2C7

    #7EB2C7

    oklch(73.5% 0.062 225)

  • #C79AB3

    #C79AB3

    oklch(73.6% 0.063 344.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAC7E

    #AFAC7E

    oklch(73.5% 0.063 104.7)

  • #79B6B5

    #79B6B5

    oklch(73.5% 0.063 194.6)

  • #A4A4D0

    #A4A4D0

    oklch(73.4% 0.063 284.7)

  • #CE9A9D

    #CE9A9D

    oklch(73.6% 0.062 14.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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