#AFB58F

Closest named color: Putty (#BEAE8A). oklch(75.8% 0.053 115), rgb(175, 181, 143).

Aa

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

About this color

#AFB58F is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.053 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.026 away. Black text reads best on it, at 9.82:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamuted (0.053)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.82:1
White text2.13:1

Values

HEX#AFB58F
RGBrgb(175, 181, 143)
HSLhsl(69, 20%, 64%)
OKLCHoklch(75.8% 0.053 115)

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 #AFB58F 2.13:1 Fails Lc -46.6 Large or bold text, headings
Black text on #AFB58F 9.82:1 AAA Lc 62.0 Content text, not long reading
#AFB58F text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#AFB58F text on black 9.82:1 AAA Lc -60.3 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC6

    oklch(88.5% 0.03 115.4)

  4. Step 300

    300 (this color)

    #AFB58F

    oklch(75.8% 0.053 115)

  5. Step 400

    400

    #9FA769

    oklch(70.7% 0.084 114.6)

  6. Step 500

    500

    #88913E

    oklch(63.2% 0.108 114.7)

  7. Step 600

    600

    #727B18

    oklch(55.7% 0.117 114.9)

  8. Step 700

    700

    #5F6706

    oklch(49% 0.109 115)

  9. Step 800

    800

    #4E540D

    oklch(42.7% 0.09 114.6)

  10. Step 900

    900

    #414615

    oklch(37.8% 0.07 114.7)

  11. Step 950

    950

    #26290E

    oklch(27.1% 0.044 114.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB58F 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)#BBB18D0.019
Deuteranopia (no green cones)#BAB2900.017
Tritanopia (no blue cones)#B4B1AB0.045
Achromatopsia (no color)#B1B1B10.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB58F

    #AFB58F

    oklch(75.8% 0.053 115)

  • #B2AACF

    #B2AACF

    oklch(75.7% 0.053 295)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB58F

    #AFB58F

    oklch(75.8% 0.053 115)

  • #C0AF8B

    #C0AF8B

    oklch(75.9% 0.053 85.6)

  • #9CBA9C

    #9CBA9C

    oklch(75.8% 0.053 145)

Open the analogous palette in the generator

Split complementary

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

  • #AFB58F

    #AFB58F

    oklch(75.8% 0.053 115)

  • #A0B1D3

    #A0B1D3

    oklch(75.9% 0.053 264.2)

  • #C2A6C3

    #C2A6C3

    oklch(75.9% 0.051 325)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB58F

    #AFB58F

    oklch(75.8% 0.053 115)

  • #91B7CE

    #91B7CE

    oklch(76% 0.053 235)

  • #CDA3B2

    #CDA3B2

    oklch(75.8% 0.053 355.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB58F

    #AFB58F

    oklch(75.8% 0.053 115)

  • #89BBC0

    #89BBC0

    oklch(75.9% 0.053 203.8)

  • #B2AACF

    #B2AACF

    oklch(75.7% 0.053 295)

  • #D0A4A0

    #D0A4A0

    oklch(75.8% 0.053 24.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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