#AFA780

Closest named color: Stone (#ADA587). oklch(72.5% 0.054 97.8), rgb(175, 167, 128).

Aa

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

About this color

#AFA780 is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.054 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.013 away. Black text reads best on it, at 8.66:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.66:1
White text2.42:1

Values

HEX#AFA780
RGBrgb(175, 167, 128)
HSLhsl(50, 23%, 59%)
OKLCHoklch(72.5% 0.054 97.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 #AFA780 2.42:1 Fails Lc -52.7 Large or bold text, headings
Black text on #AFA780 8.66:1 AAA Lc 56.3 Large or bold text, headings
#AFA780 text on white 2.42:1 Fails Lc 47.7 Large or bold text, headings
#AFA780 text on black 8.66:1 AAA Lc -54.3 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CC

    oklch(88.4% 0.018 96.1)

  4. Step 300

    300

    #C6C1A9

    oklch(80.9% 0.033 97.4)

  5. Step 400

    400 (this color)

    #AFA780

    oklch(72.5% 0.054 97.8)

  6. Step 500

    500

    #958A58

    oklch(63.1% 0.07 97.3)

  7. Step 600

    600

    #7F743E

    oklch(55.7% 0.075 98.1)

  8. Step 700

    700

    #6B6130

    oklch(49.1% 0.069 98)

  9. Step 800

    800

    #574F28

    oklch(42.6% 0.058 98)

  10. Step 900

    900

    #484225

    oklch(37.7% 0.045 97.9)

  11. Step 950

    950

    #2A2716

    oklch(27.1% 0.029 99.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA780 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)#AFA57D0.006
Deuteranopia (no green cones)#B1A8810.004
Tritanopia (no blue cones)#B6A19C0.049
Achromatopsia (no color)#A6A6A60.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA780

    #AFA780

    oklch(72.5% 0.054 97.8)

  • #9EA3C9

    #9EA3C9

    oklch(72.5% 0.055 279)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA780

    #AFA780

    oklch(72.5% 0.054 97.8)

  • #BEA082

    #BEA082

    oklch(72.5% 0.055 66.8)

  • #9CAD89

    #9CAD89

    oklch(72.5% 0.054 128.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA780

    #AFA780

    oklch(72.5% 0.054 97.8)

  • #8CAAC7

    #8CAAC7

    oklch(72.6% 0.054 247.7)

  • #AF9EC1

    #AF9EC1

    oklch(72.6% 0.053 307)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA780

    #AFA780

    oklch(72.5% 0.054 97.8)

  • #80AFBD

    #80AFBD

    oklch(72.5% 0.054 218.2)

  • #BE9AB2

    #BE9AB2

    oklch(72.6% 0.054 338.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA780

    #AFA780

    oklch(72.5% 0.054 97.8)

  • #7FB2AC

    #7FB2AC

    oklch(72.6% 0.055 186.9)

  • #9EA3C9

    #9EA3C9

    oklch(72.5% 0.055 279)

  • #C599A0

    #C599A0

    oklch(72.6% 0.053 7.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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