#AFD998

Closest named color: Light Grey Green (#B7E1A1). oklch(83.9% 0.098 134.8), rgb(175, 217, 152).

Aa

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

About this color

#AFD998 is a light, moderately saturated green. In OKLCH its lightness is 84%, its chroma 0.098 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.20:1.

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

Values

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

    #E2EEDC

    oklch(93.5% 0.027 135)

  3. Step 200

    200

    #CAE2BE

    oklch(88.5% 0.055 135.1)

  4. Step 300

    300 (this color)

    #AFD998

    oklch(83.9% 0.098 134.8)

  5. Step 400

    400

    #74B549

    oklch(70.6% 0.156 134.8)

  6. Step 500

    500

    #53A000

    oklch(63.1% 0.184 134.9)

  7. Step 600

    600

    #458700

    oklch(55.7% 0.163 134.9)

  8. Step 700

    700

    #397100

    oklch(49.1% 0.143 134.9)

  9. Step 800

    800

    #2E5D00

    oklch(42.8% 0.125 134.8)

  10. Step 900

    900

    #254D00

    oklch(37.6% 0.109 134.8)

  11. Step 950

    950

    #142E00

    oklch(27% 0.078 134.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFD998 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)#DECF940.064
Deuteranopia (no green cones)#D7CC9B0.061
Tritanopia (no blue cones)#AFD4C80.070
Achromatopsia (no color)#CDCDCD0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD998

    #AFD998

    oklch(83.9% 0.098 134.8)

  • #E2B7F7

    #E2B7F7

    oklch(83.8% 0.099 314.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD998

    #AFD998

    oklch(83.9% 0.098 134.8)

  • #D4CE81

    #D4CE81

    oklch(83.9% 0.098 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°).

  • #AFD998

    #AFD998

    oklch(83.9% 0.098 134.8)

  • #C4C3FF

    #C4C3FF

    oklch(83.9% 0.083 285.2)

  • #F9B1D9

    #F9B1D9

    oklch(84% 0.098 345)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD998

    #AFD998

    oklch(83.9% 0.098 134.8)

  • #A7CDFF

    #A7CDFF

    oklch(83.9% 0.081 255.4)

  • #FFB3B8

    #FFB3B8

    oklch(84% 0.089 14.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD998

    #AFD998

    oklch(83.9% 0.098 134.8)

  • #7FD8FA

    #7FD8FA

    oklch(83.9% 0.098 224.8)

  • #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 #AFD998, closest first.

Similar named colors

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

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