#AFD997

Closest named color: Light Grey Green (#B7E1A1). oklch(83.9% 0.099 134.5), rgb(175, 217, 151).

Aa

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

About this color

#AFD997 is a light, moderately saturated green. In OKLCH its lightness is 84%, its chroma 0.099 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.025 away. Black text reads best on it, at 13.19:1.

Hue familyGreens
Lightnesslight (84%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text13.19:1
White text1.59:1

Values

HEX#AFD997
RGBrgb(175, 217, 151)
HSLhsl(98, 46%, 72%)
OKLCHoklch(83.9% 0.099 134.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 #AFD997 1.59:1 Fails Lc -30.2 Non-text elements, placeholder text
Black text on #AFD997 13.19:1 AAA Lc 77.1 Fine for body text
#AFD997 text on white 1.59:1 Fails Lc 26.7 Dividers and decoration only
#AFD997 text on black 13.19:1 AAA Lc -76.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

    #F2F8EF

    oklch(97.2% 0.013 134.9)

  2. Step 100

    100

    #E2EEDB

    oklch(93.5% 0.028 133.7)

  3. Step 200

    200

    #CAE2BD

    oklch(88.5% 0.056 134.5)

  4. Step 300

    300 (this color)

    #AFD997

    oklch(83.9% 0.099 134.5)

  5. Step 400

    400

    #74B547

    oklch(70.6% 0.158 134.5)

  6. Step 500

    500

    #55A000

    oklch(63.2% 0.183 134.5)

  7. Step 600

    600

    #468600

    oklch(55.5% 0.161 134.6)

  8. Step 700

    700

    #3A7100

    oklch(49.1% 0.142 134.6)

  9. Step 800

    800

    #2F5D00

    oklch(42.8% 0.124 134.5)

  10. Step 900

    900

    #264D00

    oklch(37.6% 0.109 134.4)

  11. Step 950

    950

    #142E00

    oklch(27% 0.078 134.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFD997 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)#DECF930.064
Deuteranopia (no green cones)#D8CC9A0.063
Tritanopia (no blue cones)#AFD4C80.071
Achromatopsia (no color)#CDCDCD0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD997

    #AFD997

    oklch(83.9% 0.099 134.5)

  • #E2B7F7

    #E2B7F7

    oklch(83.8% 0.099 314.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD997

    #AFD997

    oklch(83.9% 0.099 134.5)

  • #D4CE80

    #D4CE80

    oklch(83.9% 0.1 104.5)

  • #8ADFBA

    #8ADFBA

    oklch(83.9% 0.099 164.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFD997

    #AFD997

    oklch(83.9% 0.099 134.5)

  • #C3C3FF

    #C3C3FF

    oklch(83.8% 0.084 284.5)

  • #F9B0DA

    #F9B0DA

    oklch(83.8% 0.1 344)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD997

    #AFD997

    oklch(83.9% 0.099 134.5)

  • #A6CDFF

    #A6CDFF

    oklch(83.8% 0.082 254.9)

  • #FFB3B8

    #FFB3B8

    oklch(84% 0.089 14.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD997

    #AFD997

    oklch(83.9% 0.099 134.5)

  • #7DD8FB

    #7DD8FB

    oklch(83.8% 0.1 225)

  • #E2B7F7

    #E2B7F7

    oklch(83.8% 0.099 314.5)

  • #FFB797

    #FFB797

    oklch(83.9% 0.095 44.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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