#AFA88C

Closest named color: Bland (#AFA88B). oklch(73% 0.04 95.6), rgb(175, 168, 140).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.80:1
White text2.38:1

Values

HEX#AFA88C
RGBrgb(175, 168, 140)
HSLhsl(48, 18%, 62%)
OKLCHoklch(73% 0.04 95.6)

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 #AFA88C 2.38:1 Fails Lc -52.0 Large or bold text, headings
Black text on #AFA88C 8.80:1 AAA Lc 57.0 Large or bold text, headings
#AFA88C text on white 2.38:1 Fails Lc 47.0 Large or bold text, headings
#AFA88C text on black 8.80:1 AAA Lc -55.0 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE5

    oklch(93.6% 0.007 97.4)

  3. Step 200

    200

    #DCD9CF

    oklch(88.5% 0.014 93)

  4. Step 300

    300

    #C5C1AF

    oklch(80.9% 0.025 96.6)

  5. Step 400

    400 (this color)

    #AFA88C

    oklch(73% 0.04 95.6)

  6. Step 500

    500

    #938A67

    oklch(63.2% 0.051 95.4)

  7. Step 600

    600

    #7D734E

    oklch(55.5% 0.054 94.8)

  8. Step 700

    700

    #69613F

    oklch(49.1% 0.051 96.5)

  9. Step 800

    800

    #564F34

    oklch(42.7% 0.042 95.3)

  10. Step 900

    900

    #47422D

    oklch(37.8% 0.034 96.3)

  11. Step 950

    950

    #29261B

    oklch(26.8% 0.02 94.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA88C 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)#AEA68A0.006
Deuteranopia (no green cones)#B0A98D0.003
Tritanopia (no blue cones)#B5A4A00.035
Achromatopsia (no color)#A8A8A80.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA88C

    #AFA88C

    oklch(73% 0.04 95.6)

  • #A0A6C1

    #A0A6C1

    oklch(72.9% 0.04 275.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA88C

    #AFA88C

    oklch(73% 0.04 95.6)

  • #BAA38E

    #BAA38E

    oklch(73% 0.04 64.5)

  • #A2AD92

    #A2AD92

    oklch(73.1% 0.04 125.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA88C

    #AFA88C

    oklch(73% 0.04 95.6)

  • #94ABC0

    #94ABC0

    oklch(73.1% 0.04 245.9)

  • #AEA2BC

    #AEA2BC

    oklch(73.1% 0.039 306.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA88C

    #AFA88C

    oklch(73% 0.04 95.6)

  • #8CAEB8

    #8CAEB8

    oklch(72.9% 0.04 217.6)

  • #B89FB1

    #B89FB1

    oklch(73% 0.038 336)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA88C

    #AFA88C

    oklch(73% 0.04 95.6)

  • #8CB0AB

    #8CB0AB

    oklch(72.9% 0.04 186)

  • #A0A6C1

    #A0A6C1

    oklch(72.9% 0.04 275.5)

  • #BF9EA4

    #BF9EA4

    oklch(73.1% 0.04 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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