#AFA882

Closest named color: Bland (#AFA88B). oklch(72.8% 0.053 98.8), rgb(175, 168, 130).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.053)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.74:1
White text2.40:1

Values

HEX#AFA882
RGBrgb(175, 168, 130)
HSLhsl(51, 22%, 60%)
OKLCHoklch(72.8% 0.053 98.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 #AFA882 2.40:1 Fails Lc -52.3 Large or bold text, headings
Black text on #AFA882 8.74:1 AAA Lc 56.7 Large or bold text, headings
#AFA882 text on white 2.40:1 Fails Lc 47.3 Large or bold text, headings
#AFA882 text on black 8.74:1 AAA Lc -54.7 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

    #DCDACC

    oklch(88.6% 0.019 100.2)

  4. Step 300

    300

    #C6C1A9

    oklch(80.9% 0.033 97.4)

  5. Step 400

    400 (this color)

    #AFA882

    oklch(72.8% 0.053 98.8)

  6. Step 500

    500

    #948A5A

    oklch(63% 0.067 97.9)

  7. Step 600

    600

    #7E7440

    oklch(55.6% 0.073 98.7)

  8. Step 700

    700

    #6A6131

    oklch(49% 0.068 98.9)

  9. Step 800

    800

    #57502A

    oklch(42.9% 0.057 99.1)

  10. Step 900

    900

    #474226

    oklch(37.7% 0.044 99.4)

  11. Step 950

    950

    #2A2717

    oklch(27.1% 0.028 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA882 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)#B0A6800.005
Deuteranopia (no green cones)#B2A8830.005
Tritanopia (no blue cones)#B6A39E0.047
Achromatopsia (no color)#A7A7A70.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA882

    #AFA882

    oklch(72.8% 0.053 98.8)

  • #9FA4C8

    #9FA4C8

    oklch(72.7% 0.052 278.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA882

    #AFA882

    oklch(72.8% 0.053 98.8)

  • #BDA184

    #BDA184

    oklch(72.6% 0.052 67.8)

  • #9DAE8B

    #9DAE8B

    oklch(72.8% 0.053 128.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA882

    #AFA882

    oklch(72.8% 0.053 98.8)

  • #8EAAC7

    #8EAAC7

    oklch(72.7% 0.052 249.5)

  • #B19EC1

    #B19EC1

    oklch(72.7% 0.054 309.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA882

    #AFA882

    oklch(72.8% 0.053 98.8)

  • #82AFBE

    #82AFBE

    oklch(72.7% 0.053 220.4)

  • #BE9BB2

    #BE9BB2

    oklch(72.8% 0.052 339.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA882

    #AFA882

    oklch(72.8% 0.053 98.8)

  • #81B2AD

    #81B2AD

    oklch(72.7% 0.052 188.2)

  • #9FA4C8

    #9FA4C8

    oklch(72.7% 0.052 278.8)

  • #C59AA0

    #C59AA0

    oklch(72.8% 0.052 9.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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