#AFBB88

Closest named color: Dark Khaki (#BDB76B). oklch(77% 0.07 118.8), rgb(175, 187, 136).

Aa

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

About this color

#AFBB88 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.070 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.035 away. Black text reads best on it, at 10.28:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.070)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.28:1
White text2.04:1

Values

HEX#AFBB88
RGBrgb(175, 187, 136)
HSLhsl(74, 27%, 63%)
OKLCHoklch(77% 0.07 118.8)

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 #AFBB88 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #AFBB88 10.28:1 AAA Lc 64.2 Content text, not long reading
#AFBB88 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#AFBB88 text on black 10.28:1 AAA Lc -62.6 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D6DDC1

    oklch(88.5% 0.038 118.6)

  4. Step 300

    300 (this color)

    #AFBB88

    oklch(77% 0.07 118.8)

  5. Step 400

    400

    #99AA55

    oklch(70.6% 0.112 118.7)

  6. Step 500

    500

    #81950F

    oklch(63.2% 0.145 118.9)

  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

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #242A03

    oklch(27% 0.059 118)

Export this scale for Tailwind in the Tailwind colors tool

#AFBB88 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)#C2B5850.029
Deuteranopia (no green cones)#C0B68A0.027
Tritanopia (no blue cones)#B4B6AD0.058
Achromatopsia (no color)#B5B5B50.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBB88

    #AFBB88

    oklch(77% 0.07 118.8)

  • #BAABDC

    #BAABDC

    oklch(77.1% 0.071 298.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBB88

    #AFBB88

    oklch(77% 0.07 118.8)

  • #C6B280

    #C6B280

    oklch(76.9% 0.07 88.7)

  • #95C19C

    #95C19C

    oklch(76.9% 0.07 149.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFBB88

    #AFBB88

    oklch(77% 0.07 118.8)

  • #A1B3E2

    #A1B3E2

    oklch(76.9% 0.071 268.4)

  • #CEA5CB

    #CEA5CB

    oklch(77.1% 0.07 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBB88

    #AFBB88

    oklch(77% 0.07 118.8)

  • #8ABBDD

    #8ABBDD

    oklch(77% 0.071 239.1)

  • #DAA2B3

    #DAA2B3

    oklch(77% 0.07 358.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBB88

    #AFBB88

    oklch(77% 0.07 118.8)

  • #7DC1CC

    #7DC1CC

    oklch(77% 0.07 208.7)

  • #BAABDC

    #BAABDC

    oklch(77.1% 0.071 298.8)

  • #DEA49B

    #DEA49B

    oklch(77.1% 0.07 28.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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