#AFBB81

Closest named color: Tan Green (#A9BE70). oklch(76.8% 0.079 117.8), rgb(175, 187, 129).

Aa

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

About this color

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

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

Values

HEX#AFBB81
RGBrgb(175, 187, 129)
HSLhsl(72, 30%, 62%)
OKLCHoklch(76.8% 0.079 117.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 #AFBB81 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #AFBB81 10.24:1 AAA Lc 64.0 Content text, not long reading
#AFBB81 text on white 2.04:1 Fails Lc 39.9 Non-text elements, placeholder text
#AFBB81 text on black 10.24:1 AAA Lc -62.4 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

    #E8ECDB

    oklch(93.5% 0.023 117.6)

  3. Step 200

    200

    #D6DEBD

    oklch(88.6% 0.045 118.4)

  4. Step 300

    300 (this color)

    #AFBB81

    oklch(76.8% 0.079 117.8)

  5. Step 400

    400

    #9AAB47

    oklch(70.7% 0.127 117.9)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6D7C00

    oklch(55.4% 0.129 117.8)

  8. Step 700

    700

    #5C6900

    oklch(49.2% 0.114 117.9)

  9. Step 800

    800

    #4B5600

    oklch(42.8% 0.1 117.9)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFBB81 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)#C3B57D0.030
Deuteranopia (no green cones)#C1B5840.030
Tritanopia (no blue cones)#B5B5AC0.067
Achromatopsia (no color)#B5B5B50.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBB81

    #AFBB81

    oklch(76.8% 0.079 117.8)

  • #B9A9E0

    #B9A9E0

    oklch(76.7% 0.079 297.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBB81

    #AFBB81

    oklch(76.8% 0.079 117.8)

  • #C9B179

    #C9B179

    oklch(76.8% 0.079 87.3)

  • #92C297

    #92C297

    oklch(76.8% 0.079 147.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFBB81

    #AFBB81

    oklch(76.8% 0.079 117.8)

  • #9EB3E7

    #9EB3E7

    oklch(76.9% 0.078 267.5)

  • #D0A2CE

    #D0A2CE

    oklch(76.8% 0.08 327.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBB81

    #AFBB81

    oklch(76.8% 0.079 117.8)

  • #83BCE1

    #83BCE1

    oklch(76.9% 0.08 237.6)

  • #DE9FB4

    #DE9FB4

    oklch(76.9% 0.079 357.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBB81

    #AFBB81

    oklch(76.8% 0.079 117.8)

  • #74C2CE

    #74C2CE

    oklch(76.8% 0.079 208.2)

  • #B9A9E0

    #B9A9E0

    oklch(76.7% 0.079 297.8)

  • #E2A198

    #E2A198

    oklch(76.9% 0.079 27.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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