#AFD897

Closest named color: Light Grey Green (#B7E1A1). oklch(83.7% 0.098 134.3), rgb(175, 216, 151).

Aa

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

About this color

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

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

Values

HEX#AFD897
RGBrgb(175, 216, 151)
HSLhsl(98, 45%, 72%)
OKLCHoklch(83.7% 0.098 134.3)

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 #AFD897 1.60:1 Fails Lc -30.7 Non-text elements, placeholder text
Black text on #AFD897 13.09:1 AAA Lc 76.6 Fine for body text
#AFD897 text on white 1.60:1 Fails Lc 27.2 Dividers and decoration only
#AFD897 text on black 13.09:1 AAA Lc -75.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 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

    #CBE2BE

    oklch(88.6% 0.054 134.2)

  4. Step 300

    300 (this color)

    #AFD897

    oklch(83.7% 0.098 134.3)

  5. Step 400

    400

    #75B549

    oklch(70.7% 0.156 134.5)

  6. Step 500

    500

    #56A000

    oklch(63.2% 0.183 134.3)

  7. Step 600

    600

    #478600

    oklch(55.6% 0.16 134.3)

  8. Step 700

    700

    #3B7100

    oklch(49.2% 0.142 134.3)

  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

#AFD897 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)#DDCE930.063
Deuteranopia (no green cones)#D7CB9A0.062
Tritanopia (no blue cones)#AFD3C70.070
Achromatopsia (no color)#CCCCCC0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD897

    #AFD897

    oklch(83.7% 0.098 134.3)

  • #E1B7F6

    #E1B7F6

    oklch(83.7% 0.097 314.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD897

    #AFD897

    oklch(83.7% 0.098 134.3)

  • #D3CD81

    #D3CD81

    oklch(83.6% 0.097 104.4)

  • #8ADEB9

    #8ADEB9

    oklch(83.7% 0.098 164.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFD897

    #AFD897

    oklch(83.7% 0.098 134.3)

  • #C2C3FF

    #C2C3FF

    oklch(83.7% 0.084 283.7)

  • #F8B0D9

    #F8B0D9

    oklch(83.7% 0.098 344.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD897

    #AFD897

    oklch(83.7% 0.098 134.3)

  • #A5CDFF

    #A5CDFF

    oklch(83.7% 0.082 254.3)

  • #FFB1B7

    #FFB1B7

    oklch(83.6% 0.092 14.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD897

    #AFD897

    oklch(83.7% 0.098 134.3)

  • #7ED7F9

    #7ED7F9

    oklch(83.6% 0.098 224.8)

  • #E1B7F6

    #E1B7F6

    oklch(83.7% 0.097 314.3)

  • #FFB696

    #FFB696

    oklch(83.7% 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 #AFD897, closest first.

Similar named colors

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

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