#AFD878

Closest named color: Pale Olive Green (#B1D27B). oklch(83.1% 0.132 127.9), rgb(175, 216, 120).

Aa

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

About this color

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

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

Values

HEX#AFD878
RGBrgb(175, 216, 120)
HSLhsl(86, 55%, 66%)
OKLCHoklch(83.1% 0.132 127.9)

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 #AFD878 1.62:1 Fails Lc -31.5 Non-text elements, placeholder text
Black text on #AFD878 12.91:1 AAA Lc 75.9 Fine for body text
#AFD878 text on white 1.62:1 Fails Lc 27.9 Dividers and decoration only
#AFD878 text on black 12.91:1 AAA Lc -75.0 Fine for body text

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

    #E2EFD4

    oklch(93.5% 0.038 128.2)

  3. Step 200

    200

    #CBE3AF

    oklch(88.5% 0.074 128)

  4. Step 300

    300 (this color)

    #AFD878

    oklch(83.1% 0.132 127.9)

  5. Step 400

    400

    #7FB500

    oklch(70.8% 0.185 128)

  6. Step 500

    500

    #6C9B00

    oklch(63.2% 0.165 128)

  7. Step 600

    600

    #5A8200

    oklch(55.6% 0.145 128)

  8. Step 700

    700

    #4B6D00

    oklch(49% 0.128 127.9)

  9. Step 800

    800

    #3D5A00

    oklch(42.8% 0.112 128.1)

  10. Step 900

    900

    #324B00

    oklch(37.8% 0.099 128.2)

  11. Step 950

    950

    #1C2C00

    oklch(26.9% 0.07 127.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFD878 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)#E1CD700.068
Deuteranopia (no green cones)#DBCA7D0.069
Tritanopia (no blue cones)#B3D0C10.103
Achromatopsia (no color)#CBCBCB0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD878

    #AFD878

    oklch(83.1% 0.132 127.9)

  • #DBB5FF

    #DBB5FF

    oklch(83.2% 0.109 307.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD878

    #AFD878

    oklch(83.1% 0.132 127.9)

  • #DFC85B

    #DFC85B

    oklch(83.1% 0.131 97.5)

  • #75E2A7

    #75E2A7

    oklch(83.2% 0.132 158)

Open the analogous palette in the generator

Split complementary

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

  • #AFD878

    #AFD878

    oklch(83.1% 0.132 127.9)

  • #BAC3FF

    #BAC3FF

    oklch(83.1% 0.085 277.8)

  • #FFA6E6

    #FFA6E6

    oklch(83.2% 0.131 337.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD878

    #AFD878

    oklch(83.1% 0.132 127.9)

  • #9ACDFF

    #9ACDFF

    oklch(83.1% 0.089 248.4)

  • #FFADBC

    #FFADBC

    oklch(83.1% 0.098 7.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD878

    #AFD878

    oklch(83.1% 0.132 127.9)

  • #4DDCFF

    #4DDCFF

    oklch(83.2% 0.128 217.6)

  • #DBB5FF

    #DBB5FF

    oklch(83.2% 0.109 307.6)

  • #FFB29A

    #FFB29A

    oklch(83.1% 0.097 38)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AFD878.

Similar named colors

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

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