#AFD797

Closest named color: Light Grey Green (#B7E1A1). oklch(83.4% 0.096 134.1), rgb(175, 215, 151).

Aa

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

About this color

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

Hue familyGreens
Lightnesslight (83%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text12.98:1
White text1.61:1

Values

HEX#AFD797
RGBrgb(175, 215, 151)
HSLhsl(98, 44%, 72%)
OKLCHoklch(83.4% 0.096 134.1)

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 #AFD797 1.61:1 Fails Lc -31.2 Non-text elements, placeholder text
Black text on #AFD797 12.98:1 AAA Lc 76.2 Fine for body text
#AFD797 text on white 1.61:1 Fails Lc 27.6 Dividers and decoration only
#AFD797 text on black 12.98:1 AAA Lc -75.3 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

    #F2F7EF

    oklch(97% 0.012 133.4)

  2. Step 100

    100

    #E2EEDC

    oklch(93.5% 0.027 135)

  3. Step 200

    200

    #CBE1BE

    oklch(88.4% 0.053 133.8)

  4. Step 300

    300 (this color)

    #AFD797

    oklch(83.4% 0.096 134.1)

  5. Step 400

    400

    #77B54A

    oklch(70.8% 0.154 134.1)

  6. Step 500

    500

    #579F00

    oklch(63% 0.181 134)

  7. Step 600

    600

    #488600

    oklch(55.6% 0.16 134.1)

  8. Step 700

    700

    #3C7100

    oklch(49.2% 0.141 134)

  9. Step 800

    800

    #305C00

    oklch(42.6% 0.122 134)

  10. Step 900

    900

    #274D00

    oklch(37.7% 0.108 134.1)

  11. Step 950

    950

    #152E00

    oklch(27% 0.078 134)

Export this scale for Tailwind in the Tailwind colors tool

#AFD797 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)#DCCE930.061
Deuteranopia (no green cones)#D6CA9A0.061
Tritanopia (no blue cones)#AFD2C60.069
Achromatopsia (no color)#CBCBCB0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD797

    #AFD797

    oklch(83.4% 0.096 134.1)

  • #E0B6F5

    #E0B6F5

    oklch(83.4% 0.097 314.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD797

    #AFD797

    oklch(83.4% 0.096 134.1)

  • #D3CC81

    #D3CC81

    oklch(83.4% 0.096 103.7)

  • #8BDDB8

    #8BDDB8

    oklch(83.5% 0.096 164)

Open the analogous palette in the generator

Split complementary

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

  • #AFD797

    #AFD797

    oklch(83.4% 0.096 134.1)

  • #C1C2FF

    #C1C2FF

    oklch(83.4% 0.085 283.7)

  • #F6B0D8

    #F6B0D8

    oklch(83.5% 0.096 344.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD797

    #AFD797

    oklch(83.4% 0.096 134.1)

  • #A3CCFF

    #A3CCFF

    oklch(83.4% 0.084 254.2)

  • #FFB0B6

    #FFB0B6

    oklch(83.4% 0.093 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD797

    #AFD797

    oklch(83.4% 0.096 134.1)

  • #7FD7F7

    #7FD7F7

    oklch(83.5% 0.096 223.6)

  • #E0B6F5

    #E0B6F5

    oklch(83.4% 0.097 314.3)

  • #FEB595

    #FEB595

    oklch(83.4% 0.096 44.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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