#AFD871

Closest named color: Pale Olive Green (#B1D27B). oklch(83% 0.139 127), rgb(175, 216, 113).

Aa

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

About this color

#AFD871 is a light, moderately saturated green. In OKLCH its lightness is 83%, its chroma 0.139 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.023 away. Black text reads best on it, at 12.88:1.

Hue familyGreens
Lightnesslight (83%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest namePale Olive Green (#B1D27B)
Black text12.88:1
White text1.62:1

Values

HEX#AFD871
RGBrgb(175, 216, 113)
HSLhsl(84, 57%, 65%)
OKLCHoklch(83% 0.139 127)

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 #AFD871 1.62:1 Fails Lc -31.6 Non-text elements, placeholder text
Black text on #AFD871 12.88:1 AAA Lc 75.8 Fine for body text
#AFD871 text on white 1.62:1 Fails Lc 28.0 Dividers and decoration only
#AFD871 text on black 12.88:1 AAA Lc -74.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

    #F2F8EB

    oklch(97.1% 0.018 127.1)

  2. Step 100

    100

    #E3EFD3

    oklch(93.6% 0.039 126.1)

  3. Step 200

    200

    #CBE3AC

    oklch(88.4% 0.077 127.1)

  4. Step 300

    300 (this color)

    #AFD871

    oklch(83% 0.139 127)

  5. Step 400

    400

    #82B400

    oklch(70.8% 0.182 127)

  6. Step 500

    500

    #6F9A00

    oklch(63.1% 0.162 126.9)

  7. Step 600

    600

    #5C8200

    oklch(55.7% 0.144 127.3)

  8. Step 700

    700

    #4D6D00

    oklch(49.1% 0.127 127.1)

  9. Step 800

    800

    #3E5900

    oklch(42.6% 0.11 127.2)

  10. Step 900

    900

    #334A00

    oklch(37.6% 0.097 127.1)

  11. Step 950

    950

    #1D2C00

    oklch(26.9% 0.069 127)

Export this scale for Tailwind in the Tailwind colors tool

#AFD871 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)#E1CC680.069
Deuteranopia (no green cones)#DBCA770.069
Tritanopia (no blue cones)#B4D0C00.110
Achromatopsia (no color)#CBCBCB0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD871

    #AFD871

    oklch(83% 0.139 127)

  • #DAB5FF

    #DAB5FF

    oklch(83.1% 0.108 307)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD871

    #AFD871

    oklch(83% 0.139 127)

  • #E1C751

    #E1C751

    oklch(83% 0.139 96.8)

  • #71E2A3

    #71E2A3

    oklch(83% 0.138 157.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFD871

    #AFD871

    oklch(83% 0.139 127)

  • #B9C3FF

    #B9C3FF

    oklch(83% 0.085 277)

  • #FFA5E7

    #FFA5E7

    oklch(83.1% 0.134 337.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD871

    #AFD871

    oklch(83% 0.139 127)

  • #98CDFF

    #98CDFF

    oklch(83% 0.09 247.5)

  • #FFADBC

    #FFADBC

    oklch(83.1% 0.098 7.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD871

    #AFD871

    oklch(83% 0.139 127)

  • #45DCFF

    #45DCFF

    oklch(83.1% 0.132 217)

  • #DAB5FF

    #DAB5FF

    oklch(83.1% 0.108 307)

  • #FFB29B

    #FFB29B

    oklch(83.1% 0.096 37.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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