#AFB98F

Closest named color: Putty (#BEAE8A). oklch(76.7% 0.059 118.7), rgb(175, 185, 143).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromamuted (0.059)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text10.15:1
White text2.06:1

Values

HEX#AFB98F
RGBrgb(175, 185, 143)
HSLhsl(74, 23%, 64%)
OKLCHoklch(76.7% 0.059 118.7)

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 #AFB98F 2.06:1 Fails Lc -44.9 Non-text elements, placeholder text
Black text on #AFB98F 10.15:1 AAA Lc 63.6 Content text, not long reading
#AFB98F text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#AFB98F text on black 10.15:1 AAA Lc -61.9 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC5

    oklch(88.6% 0.033 120.3)

  4. Step 300

    300 (this color)

    #AFB98F

    oklch(76.7% 0.059 118.7)

  5. Step 400

    400

    #9AA964

    oklch(70.7% 0.094 118.9)

  6. Step 500

    500

    #829336

    oklch(63% 0.12 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3E470F

    oklch(37.8% 0.078 118.3)

  11. Step 950

    950

    #242A0B

    oklch(27.1% 0.05 119.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB98F 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)#BFB48C0.024
Deuteranopia (no green cones)#BEB5910.024
Tritanopia (no blue cones)#B3B4AE0.050
Achromatopsia (no color)#B4B4B40.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB98F

    #AFB98F

    oklch(76.7% 0.059 118.7)

  • #B8ACD4

    #B8ACD4

    oklch(76.8% 0.058 298.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB98F

    #AFB98F

    oklch(76.7% 0.059 118.7)

  • #C2B289

    #C2B289

    oklch(76.7% 0.058 89.2)

  • #9ABE9F

    #9ABE9F

    oklch(76.6% 0.059 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFB98F

    #AFB98F

    oklch(76.7% 0.059 118.7)

  • #A4B2DA

    #A4B2DA

    oklch(76.6% 0.06 269.9)

  • #C9A6C6

    #C9A6C6

    oklch(76.6% 0.06 328.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB98F

    #AFB98F

    oklch(76.7% 0.059 118.7)

  • #91B9D5

    #91B9D5

    oklch(76.6% 0.059 239.1)

  • #D3A4B3

    #D3A4B3

    oklch(76.6% 0.059 357.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB98F

    #AFB98F

    oklch(76.7% 0.059 118.7)

  • #87BEC7

    #87BEC7

    oklch(76.7% 0.058 208.7)

  • #B8ACD4

    #B8ACD4

    oklch(76.8% 0.058 298.8)

  • #D6A69E

    #D6A69E

    oklch(76.7% 0.058 29.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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