#AFAF80

Closest named color: Putty (#BEAE8A). oklch(74.2% 0.064 107.9), rgb(175, 175, 128).

Aa

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

About this color

#AFAF80 is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.064 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.027 away. Black text reads best on it, at 9.26:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.064)
Temperaturewarm
Nearest namePutty (#BEAE8A)
Black text9.26:1
White text2.26:1

Values

HEX#AFAF80
RGBrgb(175, 175, 128)
HSLhsl(60, 23%, 59%)
OKLCHoklch(74.2% 0.064 107.9)

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 #AFAF80 2.26:1 Fails Lc -49.5 Large or bold text, headings
Black text on #AFAF80 9.26:1 AAA Lc 59.3 Large or bold text, headings
#AFAF80 text on white 2.26:1 Fails Lc 44.7 Non-text elements, placeholder text
#AFAF80 text on black 9.26:1 AAA Lc -57.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

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADACA

    oklch(88.4% 0.022 106.8)

  4. Step 300

    300

    #C3C3A6

    oklch(80.9% 0.039 107.2)

  5. Step 400

    400 (this color)

    #AFAF80

    oklch(74.2% 0.064 107.9)

  6. Step 500

    500

    #8E8D51

    oklch(63% 0.081 107.7)

  7. Step 600

    600

    #787734

    oklch(55.5% 0.089 108.2)

  8. Step 700

    700

    #656427

    oklch(49.1% 0.082 108.2)

  9. Step 800

    800

    #535222

    oklch(42.8% 0.068 107.9)

  10. Step 900

    900

    #444421

    oklch(37.8% 0.053 108.7)

  11. Step 950

    950

    #282814

    oklch(27.1% 0.034 108.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFAF80 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)#B7AB7D0.014
Deuteranopia (no green cones)#B8AD820.015
Tritanopia (no blue cones)#B6A9A30.058
Achromatopsia (no color)#ACACAC0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAF80

    #AFAF80

    oklch(74.2% 0.064 107.9)

  • #A9A6D2

    #A9A6D2

    oklch(74.3% 0.063 287.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAF80

    #AFAF80

    oklch(74.2% 0.064 107.9)

  • #C2A77E

    #C2A77E

    oklch(74.2% 0.064 77.9)

  • #98B68E

    #98B68E

    oklch(74.3% 0.065 137.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAF80

    #AFAF80

    oklch(74.2% 0.064 107.9)

  • #93ADD4

    #93ADD4

    oklch(74.2% 0.064 258.4)

  • #BD9FC6

    #BD9FC6

    oklch(74.2% 0.064 318.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAF80

    #AFAF80

    oklch(74.2% 0.064 107.9)

  • #80B4CB

    #80B4CB

    oklch(74.2% 0.064 227.3)

  • #CB9CB3

    #CB9CB3

    oklch(74.3% 0.063 347.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAF80

    #AFAF80

    oklch(74.2% 0.064 107.9)

  • #7AB8BA

    #7AB8BA

    oklch(74.1% 0.064 198.4)

  • #A9A6D2

    #A9A6D2

    oklch(74.3% 0.063 287.9)

  • #D19C9C

    #D19C9C

    oklch(74.3% 0.064 18.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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