#AFAA7D

Closest named color: Bland (#AFA88B). oklch(73.1% 0.062 102.5), rgb(175, 170, 125).

Aa

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

About this color

#AFAA7D is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.062 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.021 away. Black text reads best on it, at 8.86:1.

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

Values

HEX#AFAA7D
RGBrgb(175, 170, 125)
HSLhsl(54, 24%, 59%)
OKLCHoklch(73.1% 0.062 102.5)

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 #AFAA7D 2.36:1 Fails Lc -51.6 Large or bold text, headings
Black text on #AFAA7D 8.86:1 AAA Lc 57.3 Large or bold text, headings
#AFAA7D text on white 2.36:1 Fails Lc 46.7 Large or bold text, headings
#AFAA7D text on black 8.86: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)

    #AFAA7D

    oklch(73.1% 0.062 102.5)

  6. Step 500

    500

    #928C52

    oklch(63.2% 0.079 103.2)

  7. Step 600

    600

    #7D7535

    oklch(55.6% 0.086 102.2)

  8. Step 700

    700

    #696228

    oklch(49% 0.079 102.5)

  9. Step 800

    800

    #565022

    oklch(42.6% 0.066 101.9)

  10. Step 900

    900

    #474321

    oklch(37.8% 0.052 102.6)

  11. Step 950

    950

    #292714

    oklch(26.9% 0.032 103.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA7D 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)#B2A77A0.008
Deuteranopia (no green cones)#B4AA7F0.008
Tritanopia (no blue cones)#B7A49E0.056
Achromatopsia (no color)#A8A8A80.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA7D

    #AFAA7D

    oklch(73.1% 0.062 102.5)

  • #A2A4CE

    #A2A4CE

    oklch(73.2% 0.061 282.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA7D

    #AFAA7D

    oklch(73.1% 0.062 102.5)

  • #C0A27D

    #C0A27D

    oklch(73% 0.062 72.5)

  • #99B189

    #99B189

    oklch(73.1% 0.062 133)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA7D

    #AFAA7D

    oklch(73.1% 0.062 102.5)

  • #8DABCE

    #8DABCE

    oklch(73.1% 0.061 252.5)

  • #B59DC4

    #B59DC4

    oklch(73% 0.061 312.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA7D

    #AFAA7D

    oklch(73.1% 0.062 102.5)

  • #7DB1C4

    #7DB1C4

    oklch(73.1% 0.061 222.7)

  • #C499B3

    #C499B3

    oklch(73.1% 0.062 341.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA7D

    #AFAA7D

    oklch(73.1% 0.062 102.5)

  • #79B5B2

    #79B5B2

    oklch(73.1% 0.062 191.9)

  • #A2A4CE

    #A2A4CE

    oklch(73.2% 0.061 282.7)

  • #CC999D

    #CC999D

    oklch(73.2% 0.061 13.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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