#AFAF8D

Closest named color: Bland (#AFA88B). oklch(74.5% 0.047 107.5), rgb(175, 175, 141).

Aa

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

About this color

#AFAF8D is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.047 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.019 away. Black text reads best on it, at 9.33:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.047)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.33:1
White text2.24:1

Values

HEX#AFAF8D
RGBrgb(175, 175, 141)
HSLhsl(60, 18%, 62%)
OKLCHoklch(74.5% 0.047 107.5)

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 #AFAF8D 2.24:1 Fails Lc -49.1 Large or bold text, headings
Black text on #AFAF8D 9.33:1 AAA Lc 59.6 Large or bold text, headings
#AFAF8D text on white 2.24:1 Fails Lc 44.3 Non-text elements, placeholder text
#AFAF8D text on black 9.33:1 AAA Lc -57.8 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

    #F6F6F3

    oklch(97.2% 0.004 106.5)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACE

    oklch(88.5% 0.016 106.7)

  4. Step 300

    300

    #C2C2AD

    oklch(80.8% 0.029 107)

  5. Step 400

    400 (this color)

    #AFAF8D

    oklch(74.5% 0.047 107.5)

  6. Step 500

    500

    #8D8C62

    oklch(63% 0.059 106.8)

  7. Step 600

    600

    #777648

    oklch(55.5% 0.065 107.3)

  8. Step 700

    700

    #64633A

    oklch(49% 0.06 107.2)

  9. Step 800

    800

    #525130

    oklch(42.7% 0.05 106.8)

  10. Step 900

    900

    #44432B

    oklch(37.7% 0.038 106.1)

  11. Step 950

    950

    #282719

    oklch(26.9% 0.024 104.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFAF8D 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)#B5AC8B0.011
Deuteranopia (no green cones)#B6AE8E0.011
Tritanopia (no blue cones)#B4ABA60.041
Achromatopsia (no color)#ADADAD0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAF8D

    #AFAF8D

    oklch(74.5% 0.047 107.5)

  • #AAA8C9

    #AAA8C9

    oklch(74.4% 0.047 288)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAF8D

    #AFAF8D

    oklch(74.5% 0.047 107.5)

  • #BDA98C

    #BDA98C

    oklch(74.4% 0.046 77.1)

  • #9FB497

    #9FB497

    oklch(74.6% 0.047 137.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFAF8D

    #AFAF8D

    oklch(74.5% 0.047 107.5)

  • #9AAECA

    #9AAECA

    oklch(74.5% 0.046 256.8)

  • #B9A4C0

    #B9A4C0

    oklch(74.6% 0.046 317.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAF8D

    #AFAF8D

    oklch(74.5% 0.047 107.5)

  • #8EB3C4

    #8EB3C4

    oklch(74.5% 0.047 227.6)

  • #C4A1B2

    #C4A1B2

    oklch(74.6% 0.047 347.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAF8D

    #AFAF8D

    oklch(74.5% 0.047 107.5)

  • #8AB6B7

    #8AB6B7

    oklch(74.5% 0.047 197.9)

  • #AAA8C9

    #AAA8C9

    oklch(74.4% 0.047 288)

  • #C9A1A1

    #C9A1A1

    oklch(74.5% 0.048 18.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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