#AFC888

Closest named color: Pale Olive (#B9CC81). oklch(79.8% 0.09 125.7), rgb(175, 200, 136).

Aa

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

About this color

#AFC888 is a light, moderately saturated green. In OKLCH its lightness is 80%, its chroma 0.090 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.020 away. Black text reads best on it, at 11.44:1.

Hue familyGreens
Lightnesslight (80%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.44:1
White text1.83:1

Values

HEX#AFC888
RGBrgb(175, 200, 136)
HSLhsl(83, 37%, 66%)
OKLCHoklch(79.8% 0.09 125.7)

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 #AFC888 1.83:1 Fails Lc -38.5 Non-text elements, placeholder text
Black text on #AFC888 11.44:1 AAA Lc 69.5 Content text, not long reading
#AFC888 text on white 1.83:1 Fails Lc 34.4 Non-text elements, placeholder text
#AFC888 text on black 11.44:1 AAA Lc -68.2 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

    #F3F7EE

    oklch(97.1% 0.013 126.4)

  2. Step 100

    100

    #E5EDDB

    oklch(93.5% 0.025 126.6)

  3. Step 200

    200

    #D1E0BC

    oklch(88.6% 0.051 125.9)

  4. Step 300

    300 (this color)

    #AFC888

    oklch(79.8% 0.09 125.7)

  5. Step 400

    400

    #8BB042

    oklch(70.7% 0.144 125.7)

  6. Step 500

    500

    #729900

    oklch(63.1% 0.16 125.6)

  7. Step 600

    600

    #5F8100

    oklch(55.7% 0.141 125.9)

  8. Step 700

    700

    #506C00

    oklch(49.1% 0.124 125.4)

  9. Step 800

    800

    #415900

    oklch(42.8% 0.109 125.6)

  10. Step 900

    900

    #354A00

    oklch(37.7% 0.096 125.9)

  11. Step 950

    950

    #1E2C00

    oklch(27% 0.069 126.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFC888 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)#CFC0840.046
Deuteranopia (no green cones)#CBBF8B0.045
Tritanopia (no blue cones)#B3C2B70.071
Achromatopsia (no color)#BFBFBF0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC888

    #AFC888

    oklch(79.8% 0.09 125.7)

  • #CBAFEC

    #CBAFEC

    oklch(79.9% 0.09 305.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC888

    #AFC888

    oklch(79.8% 0.09 125.7)

  • #CEBD79

    #CEBD79

    oklch(79.7% 0.09 95.8)

  • #8DCFA5

    #8DCFA5

    oklch(79.9% 0.09 155.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFC888

    #AFC888

    oklch(79.8% 0.09 125.7)

  • #ADB9F8

    #ADB9F8

    oklch(79.9% 0.09 275.8)

  • #E3A7D4

    #E3A7D4

    oklch(79.8% 0.091 335.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC888

    #AFC888

    oklch(79.8% 0.09 125.7)

  • #8CC3F4

    #8CC3F4

    oklch(79.7% 0.09 246.1)

  • #F0A5B5

    #F0A5B5

    oklch(79.9% 0.091 5.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC888

    #AFC888

    oklch(79.8% 0.09 125.7)

  • #74CCE2

    #74CCE2

    oklch(79.8% 0.09 215.8)

  • #CBAFEC

    #CBAFEC

    oklch(79.9% 0.09 305.4)

  • #F1A995

    #F1A995

    oklch(79.9% 0.09 36.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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