#AFA784

Closest named color: Stone (#ADA587). oklch(72.6% 0.049 96.7), rgb(175, 167, 132).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.68:1
White text2.41:1

Values

HEX#AFA784
RGBrgb(175, 167, 132)
HSLhsl(49, 21%, 60%)
OKLCHoklch(72.6% 0.049 96.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 #AFA784 2.41:1 Fails Lc -52.6 Large or bold text, headings
Black text on #AFA784 8.68:1 AAA Lc 56.4 Large or bold text, headings
#AFA784 text on white 2.41:1 Fails Lc 47.6 Large or bold text, headings
#AFA784 text on black 8.68:1 AAA Lc -54.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C6C1AB

    oklch(80.9% 0.031 96.5)

  5. Step 400

    400 (this color)

    #AFA784

    oklch(72.6% 0.049 96.7)

  6. Step 500

    500

    #948A5E

    oklch(63.1% 0.062 96.9)

  7. Step 600

    600

    #7F7444

    oklch(55.8% 0.068 96.8)

  8. Step 700

    700

    #6B6135

    oklch(49.1% 0.064 96.9)

  9. Step 800

    800

    #574F2C

    oklch(42.7% 0.053 96.8)

  10. Step 900

    900

    #484228

    oklch(37.8% 0.041 96.7)

  11. Step 950

    950

    #2A2718

    oklch(27.1% 0.026 98.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFA784 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)#AEA5820.006
Deuteranopia (no green cones)#B1A8850.004
Tritanopia (no blue cones)#B6A29D0.044
Achromatopsia (no color)#A7A7A70.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA784

    #AFA784

    oklch(72.6% 0.049 96.7)

  • #9EA4C6

    #9EA4C6

    oklch(72.5% 0.05 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA784

    #AFA784

    oklch(72.6% 0.049 96.7)

  • #BCA186

    #BCA186

    oklch(72.6% 0.049 66.9)

  • #9EAD8B

    #9EAD8B

    oklch(72.7% 0.051 127)

Open the analogous palette in the generator

Split complementary

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

  • #AFA784

    #AFA784

    oklch(72.6% 0.049 96.7)

  • #8EAAC4

    #8EAAC4

    oklch(72.6% 0.049 246.5)

  • #AE9FBF

    #AE9FBF

    oklch(72.6% 0.049 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA784

    #AFA784

    oklch(72.6% 0.049 96.7)

  • #84AFBB

    #84AFBB

    oklch(72.7% 0.049 216.8)

  • #BB9BB2

    #BB9BB2

    oklch(72.5% 0.049 336.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA784

    #AFA784

    oklch(72.6% 0.049 96.7)

  • #84B1AB

    #84B1AB

    oklch(72.6% 0.049 186)

  • #9EA4C6

    #9EA4C6

    oklch(72.5% 0.05 277.2)

  • #C39AA1

    #C39AA1

    oklch(72.6% 0.05 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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