#AFBB71

Closest named color: Tan Green (#A9BE70). oklch(76.6% 0.098 116.3), rgb(175, 187, 113).

Aa

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

About this color

#AFBB71 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.098 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.011 away. Black text reads best on it, at 10.16:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.16:1
White text2.06:1

Values

HEX#AFBB71
RGBrgb(175, 187, 113)
HSLhsl(70, 35%, 59%)
OKLCHoklch(76.6% 0.098 116.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 #AFBB71 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #AFBB71 10.16:1 AAA Lc 63.7 Content text, not long reading
#AFBB71 text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#AFBB71 text on black 10.16:1 AAA Lc -62.0 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

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E8EDD7

    oklch(93.6% 0.03 117.4)

  3. Step 200

    200

    #D7DEB6

    oklch(88.5% 0.054 115.6)

  4. Step 300

    300 (this color)

    #AFBB71

    oklch(76.6% 0.098 116.3)

  5. Step 400

    400

    #9CAC15

    oklch(70.8% 0.158 116.3)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFBB71 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)#C4B46B0.032
Deuteranopia (no green cones)#C3B5750.033
Tritanopia (no blue cones)#B6B3A90.085
Achromatopsia (no color)#B4B4B40.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBB71

    #AFBB71

    oklch(76.6% 0.098 116.3)

  • #B8A6EB

    #B8A6EB

    oklch(76.5% 0.099 296)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBB71

    #AFBB71

    oklch(76.6% 0.098 116.3)

  • #CEAF67

    #CEAF67

    oklch(76.6% 0.098 86.8)

  • #89C48D

    #89C48D

    oklch(76.5% 0.099 146.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFBB71

    #AFBB71

    oklch(76.6% 0.098 116.3)

  • #96B1F2

    #96B1F2

    oklch(76.5% 0.099 266.7)

  • #D49DD4

    #D49DD4

    oklch(76.6% 0.098 326.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBB71

    #AFBB71

    oklch(76.6% 0.098 116.3)

  • #72BDE9

    #72BDE9

    oklch(76.6% 0.098 235.8)

  • #E698B4

    #E698B4

    oklch(76.5% 0.099 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBB71

    #AFBB71

    oklch(76.6% 0.098 116.3)

  • #5CC5D2

    #5CC5D2

    oklch(76.7% 0.098 206.2)

  • #B8A6EB

    #B8A6EB

    oklch(76.5% 0.099 296)

  • #EB9A92

    #EB9A92

    oklch(76.5% 0.099 25.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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