#AFE7A2

Closest named color: Light Grey Green (#B7E1A1). oklch(87.2% 0.109 139.8), rgb(175, 231, 162).

Aa

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

About this color

#AFE7A2 is a light, moderately saturated green. In OKLCH its lightness is 87%, its chroma 0.109 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.017 away. Black text reads best on it, at 14.77:1.

Hue familyGreens
Lightnesslight (87%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.77:1
White text1.42:1

Values

HEX#AFE7A2
RGBrgb(175, 231, 162)
HSLhsl(109, 59%, 77%)
OKLCHoklch(87.2% 0.109 139.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 #AFE7A2 1.42:1 Fails Lc -23.0 Dividers and decoration only
Black text on #AFE7A2 14.77:1 AAA Lc 83.5 Fine for body text
#AFE7A2 text on white 1.42:1 Fails Lc 20.2 Dividers and decoration only
#AFE7A2 text on black 14.77:1 AAA Lc -83.2 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 200.

  1. Step 50

    50

    #EFF9ED

    oklch(97.1% 0.019 140.5)

  2. Step 100

    100

    #DCF1D7

    oklch(93.6% 0.041 139.7)

  3. Step 200

    200 (this color)

    #AFE7A2

    oklch(87.2% 0.109 139.8)

  4. Step 300

    300

    #8ED77E

    oklch(81% 0.141 140)

  5. Step 400

    400

    #3FBF07

    oklch(70.6% 0.224 139.8)

  6. Step 500

    500

    #34A400

    oklch(63% 0.202 139.7)

  7. Step 600

    600

    #2A8A00

    oklch(55.5% 0.178 139.8)

  8. Step 700

    700

    #227400

    oklch(49% 0.157 139.8)

  9. Step 800

    800

    #1A5F00

    oklch(42.6% 0.136 139.8)

  10. Step 900

    900

    #145000

    oklch(37.8% 0.121 139.9)

  11. Step 950

    950

    #093000

    oklch(27.1% 0.087 139.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFE7A2 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)#EBDC9E0.078
Deuteranopia (no green cones)#E2D6A60.077
Tritanopia (no blue cones)#ACE2D50.073
Achromatopsia (no color)#D8D8D80.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFE7A2

    #AFE7A2

    oklch(87.2% 0.109 139.8)

  • #F3C0FF

    #F3C0FF

    oklch(87.3% 0.101 319.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFE7A2

    #AFE7A2

    oklch(87.2% 0.109 139.8)

  • #D9DC85

    #D9DC85

    oklch(87.3% 0.11 110.2)

  • #86ECCA

    #86ECCA

    oklch(87.1% 0.108 170.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFE7A2

    #AFE7A2

    oklch(87.2% 0.109 139.8)

  • #D3CEFF

    #D3CEFF

    oklch(87.1% 0.067 289.6)

  • #FFC0DD

    #FFC0DD

    oklch(87.3% 0.081 349.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFE7A2

    #AFE7A2

    oklch(87.2% 0.109 139.8)

  • #BDD6FF

    #BDD6FF

    oklch(87.1% 0.063 260.3)

  • #FFC4C3

    #FFC4C3

    oklch(87.3% 0.068 19.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFE7A2

    #AFE7A2

    oklch(87.2% 0.109 139.8)

  • #9FDFFF

    #9FDFFF

    oklch(87.2% 0.078 230.4)

  • #F3C0FF

    #F3C0FF

    oklch(87.3% 0.101 319.8)

  • #FFC7A9

    #FFC7A9

    oklch(87.2% 0.076 49.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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