#AFAF8F

Closest named color: Bland (#AFA88B). oklch(74.5% 0.044 107.4), rgb(175, 175, 143).

Aa

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

About this color

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

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

Values

HEX#AFAF8F
RGBrgb(175, 175, 143)
HSLhsl(60, 17%, 62%)
OKLCHoklch(74.5% 0.044 107.4)

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 #AFAF8F 2.24:1 Fails Lc -49.1 Large or bold text, headings
Black text on #AFAF8F 9.35:1 AAA Lc 59.7 Large or bold text, headings
#AFAF8F text on white 2.24:1 Fails Lc 44.3 Non-text elements, placeholder text
#AFAF8F text on black 9.35:1 AAA Lc -57.9 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACF

    oklch(88.5% 0.015 106.7)

  4. Step 300

    300

    #C2C2AE

    oklch(80.9% 0.027 107)

  5. Step 400

    400 (this color)

    #AFAF8F

    oklch(74.5% 0.044 107.4)

  6. Step 500

    500

    #8D8C64

    oklch(63.1% 0.056 106.7)

  7. Step 600

    600

    #77764B

    oklch(55.6% 0.061 107.1)

  8. Step 700

    700

    #64633C

    oklch(49.1% 0.057 107.1)

  9. Step 800

    800

    #525132

    oklch(42.7% 0.047 106.7)

  10. Step 900

    900

    #43432C

    oklch(37.6% 0.037 108)

  11. Step 950

    950

    #27271A

    oklch(26.9% 0.023 107.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFAF8F 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)#B5AC8D0.011
Deuteranopia (no green cones)#B5AE900.009
Tritanopia (no blue cones)#B4ABA60.039
Achromatopsia (no color)#ADADAD0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAF8F

    #AFAF8F

    oklch(74.5% 0.044 107.4)

  • #AAA9C8

    #AAA9C8

    oklch(74.6% 0.044 286.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAF8F

    #AFAF8F

    oklch(74.5% 0.044 107.4)

  • #BCAA8E

    #BCAA8E

    oklch(74.6% 0.044 78.8)

  • #A0B498

    #A0B498

    oklch(74.7% 0.045 136.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFAF8F

    #AFAF8F

    oklch(74.5% 0.044 107.4)

  • #9BAEC9

    #9BAEC9

    oklch(74.5% 0.044 257.1)

  • #B8A4BF

    #B8A4BF

    oklch(74.5% 0.044 317.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAF8F

    #AFAF8F

    oklch(74.5% 0.044 107.4)

  • #90B3C3

    #90B3C3

    oklch(74.6% 0.044 227.4)

  • #C3A2B2

    #C3A2B2

    oklch(74.6% 0.044 347.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAF8F

    #AFAF8F

    oklch(74.5% 0.044 107.4)

  • #8CB6B6

    #8CB6B6

    oklch(74.6% 0.045 196.2)

  • #AAA9C8

    #AAA9C8

    oklch(74.6% 0.044 286.8)

  • #C7A2A2

    #C7A2A2

    oklch(74.6% 0.044 18.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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