#AFE792

Closest named color: Light Grey Green (#B7E1A1). oklch(86.9% 0.126 135.5), rgb(175, 231, 146).

Aa

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

About this color

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

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

Values

HEX#AFE792
RGBrgb(175, 231, 146)
HSLhsl(100, 64%, 74%)
OKLCHoklch(86.9% 0.126 135.5)

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 #AFE792 1.43:1 Fails Lc -23.5 Dividers and decoration only
Black text on #AFE792 14.66:1 AAA Lc 83.1 Fine for body text
#AFE792 text on white 1.43:1 Fails Lc 20.6 Dividers and decoration only
#AFE792 text on black 14.66:1 AAA Lc -82.8 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

    #EFF9EB

    oklch(97.1% 0.021 136.6)

  2. Step 100

    100

    #DCF2D2

    oklch(93.6% 0.048 135.8)

  3. Step 200

    200 (this color)

    #AFE792

    oklch(86.9% 0.126 135.5)

  4. Step 300

    300

    #90D868

    oklch(81% 0.163 135.6)

  5. Step 400

    400

    #5FBB00

    oklch(70.7% 0.208 135.4)

  6. Step 500

    500

    #51A000

    oklch(63% 0.185 135.3)

  7. Step 600

    600

    #438700

    oklch(55.6% 0.164 135.4)

  8. Step 700

    700

    #377100

    oklch(49% 0.144 135.4)

  9. Step 800

    800

    #2C5D00

    oklch(42.7% 0.126 135.4)

  10. Step 900

    900

    #244E00

    oklch(37.8% 0.111 135.4)

  11. Step 950

    950

    #132E00

    oklch(26.9% 0.079 135.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFE792 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)#EDDB8C0.081
Deuteranopia (no green cones)#E5D6970.081
Tritanopia (no blue cones)#AEE1D20.090
Achromatopsia (no color)#D8D8D80.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFE792

    #AFE792

    oklch(86.9% 0.126 135.5)

  • #ECC1FF

    #ECC1FF

    oklch(86.8% 0.095 315.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFE792

    #AFE792

    oklch(86.9% 0.126 135.5)

  • #E0D971

    #E0D971

    oklch(87% 0.127 105.3)

  • #79EEC0

    #79EEC0

    oklch(86.8% 0.126 165.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFE792

    #AFE792

    oklch(86.9% 0.126 135.5)

  • #CFCEFF

    #CFCEFF

    oklch(86.8% 0.068 285.8)

  • #FFBDE1

    #FFBDE1

    oklch(86.9% 0.088 345.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFE792

    #AFE792

    oklch(86.9% 0.126 135.5)

  • #B8D7FF

    #B8D7FF

    oklch(87% 0.065 254.9)

  • #FFC2C5

    #FFC2C5

    oklch(87% 0.07 15.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFE792

    #AFE792

    oklch(86.9% 0.126 135.5)

  • #95E0FF

    #95E0FF

    oklch(86.8% 0.086 226)

  • #ECC1FF

    #ECC1FF

    oklch(86.8% 0.095 315.4)

  • #FFC5AB

    #FFC5AB

    oklch(86.9% 0.075 45.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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