#AFBA8D

Closest named color: Putty (#BEAE8A). oklch(76.9% 0.063 119.1), rgb(175, 186, 141).

Aa

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

About this color

#AFBA8D is a medium-light, muted yellow. In OKLCH its lightness is 77%, its chroma 0.063 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.036 away. Black text reads best on it, at 10.23:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamuted (0.063)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text10.23:1
White text2.05:1

Values

HEX#AFBA8D
RGBrgb(175, 186, 141)
HSLhsl(75, 25%, 64%)
OKLCHoklch(76.9% 0.063 119.1)

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 #AFBA8D 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #AFBA8D 10.23:1 AAA Lc 63.9 Content text, not long reading
#AFBA8D text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#AFBA8D text on black 10.23:1 AAA Lc -62.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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D6DDC3

    oklch(88.5% 0.036 119.4)

  4. Step 300

    300 (this color)

    #AFBA8D

    oklch(76.9% 0.063 119.1)

  5. Step 400

    400

    #9AAA60

    oklch(70.8% 0.1 119)

  6. Step 500

    500

    #81942D

    oklch(63.1% 0.128 119.3)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D4708

    oklch(37.6% 0.083 118.8)

  11. Step 950

    950

    #242A08

    oklch(27.1% 0.053 118.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFBA8D 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)#C0B58A0.025
Deuteranopia (no green cones)#BFB58F0.026
Tritanopia (no blue cones)#B3B5AE0.053
Achromatopsia (no color)#B5B5B50.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBA8D

    #AFBA8D

    oklch(76.9% 0.063 119.1)

  • #B9ACD7

    #B9ACD7

    oklch(77% 0.062 298.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBA8D

    #AFBA8D

    oklch(76.9% 0.063 119.1)

  • #C4B286

    #C4B286

    oklch(76.8% 0.063 88.4)

  • #99BF9E

    #99BF9E

    oklch(76.8% 0.062 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFBA8D

    #AFBA8D

    oklch(76.9% 0.063 119.1)

  • #A3B3DD

    #A3B3DD

    oklch(76.9% 0.063 268.6)

  • #CBA6C8

    #CBA6C8

    oklch(76.9% 0.063 328.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBA8D

    #AFBA8D

    oklch(76.9% 0.063 119.1)

  • #8FBAD8

    #8FBAD8

    oklch(76.9% 0.063 239.1)

  • #D6A4B3

    #D6A4B3

    oklch(76.9% 0.062 358.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBA8D

    #AFBA8D

    oklch(76.9% 0.063 119.1)

  • #84BFC9

    #84BFC9

    oklch(76.8% 0.062 209.2)

  • #B9ACD7

    #B9ACD7

    oklch(77% 0.062 298.8)

  • #D9A59D

    #D9A59D

    oklch(76.8% 0.063 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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