#AFAA7E

Closest named color: Bland (#AFA88B). oklch(73.1% 0.06 102.3), rgb(175, 170, 126).

Aa

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

About this color

#AFAA7E is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.060 and its hue 102°. 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 8.87:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.87:1
White text2.36:1

Values

HEX#AFAA7E
RGBrgb(175, 170, 126)
HSLhsl(54, 23%, 59%)
OKLCHoklch(73.1% 0.06 102.3)

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 #AFAA7E 2.36:1 Fails Lc -51.6 Large or bold text, headings
Black text on #AFAA7E 8.87:1 AAA Lc 57.3 Large or bold text, headings
#AFAA7E text on white 2.36:1 Fails Lc 46.6 Large or bold text, headings
#AFAA7E text on black 8.87:1 AAA Lc -55.4 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

    #C5C2A6

    oklch(80.9% 0.038 102.2)

  5. Step 400

    400 (this color)

    #AFAA7E

    oklch(73.1% 0.06 102.3)

  6. Step 500

    500

    #928B53

    oklch(63% 0.077 102.1)

  7. Step 600

    600

    #7D7537

    oklch(55.6% 0.084 102)

  8. Step 700

    700

    #696229

    oklch(49% 0.078 102.4)

  9. Step 800

    800

    #565023

    oklch(42.6% 0.065 101.8)

  10. Step 900

    900

    #474322

    oklch(37.8% 0.05 102.4)

  11. Step 950

    950

    #292714

    oklch(26.9% 0.032 103.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA7E 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)#B2A77B0.008
Deuteranopia (no green cones)#B4AA800.008
Tritanopia (no blue cones)#B6A49E0.054
Achromatopsia (no color)#A8A8A80.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA7E

    #AFAA7E

    oklch(73.1% 0.06 102.3)

  • #A2A4CE

    #A2A4CE

    oklch(73.2% 0.061 282.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA7E

    #AFAA7E

    oklch(73.1% 0.06 102.3)

  • #C0A27E

    #C0A27E

    oklch(73% 0.061 71.7)

  • #9AB189

    #9AB189

    oklch(73.2% 0.062 132.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA7E

    #AFAA7E

    oklch(73.1% 0.06 102.3)

  • #8DABCE

    #8DABCE

    oklch(73.1% 0.061 252.5)

  • #B59EC4

    #B59EC4

    oklch(73.2% 0.06 312)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA7E

    #AFAA7E

    oklch(73.1% 0.06 102.3)

  • #7EB1C4

    #7EB1C4

    oklch(73.1% 0.06 223.1)

  • #C499B3

    #C499B3

    oklch(73.1% 0.062 341.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA7E

    #AFAA7E

    oklch(73.1% 0.06 102.3)

  • #7BB5B2

    #7BB5B2

    oklch(73.2% 0.06 191.8)

  • #A2A4CE

    #A2A4CE

    oklch(73.2% 0.061 282.7)

  • #CB999E

    #CB999E

    oklch(73.1% 0.06 12)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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