#AFAF92

Closest named color: Bland (#AFA88B). oklch(74.6% 0.04 107.3), rgb(175, 175, 146).

Aa

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

About this color

#AFAF92 is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.040 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.36:1.

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

Values

HEX#AFAF92
RGBrgb(175, 175, 146)
HSLhsl(60, 15%, 63%)
OKLCHoklch(74.6% 0.04 107.3)

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 #AFAF92 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #AFAF92 9.36:1 AAA Lc 59.8 Large or bold text, headings
#AFAF92 text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#AFAF92 text on black 9.36:1 AAA Lc -58.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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #DADAD0

    oklch(88.6% 0.013 106.7)

  4. Step 300

    300

    #C2C2B0

    oklch(80.9% 0.025 106.9)

  5. Step 400

    400 (this color)

    #AFAF92

    oklch(74.6% 0.04 107.3)

  6. Step 500

    500

    #8C8C68

    oklch(63.1% 0.051 107.8)

  7. Step 600

    600

    #77764F

    oklch(55.7% 0.056 106.8)

  8. Step 700

    700

    #646340

    oklch(49.1% 0.052 106.8)

  9. Step 800

    800

    #515135

    oklch(42.7% 0.043 108.1)

  10. Step 900

    900

    #43432E

    oklch(37.7% 0.034 107.9)

  11. Step 950

    950

    #27271B

    oklch(26.9% 0.021 107.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFAF92 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)#B4AC900.010
Deuteranopia (no green cones)#B5AE930.009
Tritanopia (no blue cones)#B4ABA70.036
Achromatopsia (no color)#ADADAD0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAF92

    #AFAF92

    oklch(74.6% 0.04 107.3)

  • #ABA9C5

    #ABA9C5

    oklch(74.6% 0.04 288.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAF92

    #AFAF92

    oklch(74.6% 0.04 107.3)

  • #BBAA91

    #BBAA91

    oklch(74.6% 0.04 77.5)

  • #A1B39A

    #A1B39A

    oklch(74.6% 0.04 136.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAF92

    #AFAF92

    oklch(74.6% 0.04 107.3)

  • #9DAEC7

    #9DAEC7

    oklch(74.6% 0.041 257.9)

  • #B7A5BE

    #B7A5BE

    oklch(74.5% 0.041 316.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAF92

    #AFAF92

    oklch(74.6% 0.04 107.3)

  • #93B2C1

    #93B2C1

    oklch(74.5% 0.04 228.8)

  • #C1A3B1

    #C1A3B1

    oklch(74.6% 0.04 348.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAF92

    #AFAF92

    oklch(74.6% 0.04 107.3)

  • #90B5B6

    #90B5B6

    oklch(74.6% 0.04 198.4)

  • #ABA9C5

    #ABA9C5

    oklch(74.6% 0.04 288.7)

  • #C5A3A3

    #C5A3A3

    oklch(74.6% 0.04 18.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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