#AFD98F

Closest named color: Pale Olive Green (#B1D27B). oklch(83.7% 0.108 132.4), rgb(175, 217, 143).

Aa

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

About this color

#AFD98F is a light, moderately saturated green. In OKLCH its lightness is 84%, its chroma 0.108 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.024 away. Black text reads best on it, at 13.14:1.

Hue familyGreens
Lightnesslight (84%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest namePale Olive Green (#B1D27B)
Black text13.14:1
White text1.59:1

Values

HEX#AFD98F
RGBrgb(175, 217, 143)
HSLhsl(94, 49%, 71%)
OKLCHoklch(83.7% 0.108 132.4)

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 #AFD98F 1.59:1 Fails Lc -30.4 Non-text elements, placeholder text
Black text on #AFD98F 13.14:1 AAA Lc 76.9 Fine for body text
#AFD98F text on white 1.59:1 Fails Lc 26.9 Dividers and decoration only
#AFD98F text on black 13.14:1 AAA Lc -76.1 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

    #F2F8EE

    oklch(97.2% 0.015 132.5)

  2. Step 100

    100

    #E2EFD9

    oklch(93.6% 0.032 132.3)

  3. Step 200

    200

    #CAE2BA

    oklch(88.5% 0.059 132.9)

  4. Step 300

    300 (this color)

    #AFD98F

    oklch(83.7% 0.108 132.4)

  5. Step 400

    400

    #75B633

    oklch(70.7% 0.173 132.5)

  6. Step 500

    500

    #5E9E00

    oklch(63.1% 0.176 132.3)

  7. Step 600

    600

    #4E8500

    oklch(55.6% 0.155 132.4)

  8. Step 700

    700

    #417000

    oklch(49.2% 0.137 132.3)

  9. Step 800

    800

    #345C00

    oklch(42.8% 0.12 132.5)

  10. Step 900

    900

    #2B4C00

    oklch(37.6% 0.105 132.1)

  11. Step 950

    950

    #172E00

    oklch(27.1% 0.076 132.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFD98F 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)#DFCF8A0.065
Deuteranopia (no green cones)#D9CB930.066
Tritanopia (no blue cones)#B0D3C60.080
Achromatopsia (no color)#CDCDCD0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD98F

    #AFD98F

    oklch(83.7% 0.108 132.4)

  • #E2B5FD

    #E2B5FD

    oklch(83.7% 0.109 312.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD98F

    #AFD98F

    oklch(83.7% 0.108 132.4)

  • #D7CD77

    #D7CD77

    oklch(83.8% 0.108 102.6)

  • #84E0B5

    #84E0B5

    oklch(83.7% 0.108 162.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFD98F

    #AFD98F

    oklch(83.7% 0.108 132.4)

  • #C1C4FF

    #C1C4FF

    oklch(83.8% 0.082 282.2)

  • #FBAEDD

    #FBAEDD

    oklch(83.8% 0.107 342.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD98F

    #AFD98F

    oklch(83.7% 0.108 132.4)

  • #A3CEFF

    #A3CEFF

    oklch(83.8% 0.083 252.1)

  • #FFB1B9

    #FFB1B9

    oklch(83.7% 0.092 12.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD98F

    #AFD98F

    oklch(83.7% 0.108 132.4)

  • #71DAFC

    #71DAFC

    oklch(83.8% 0.108 221.6)

  • #E2B5FD

    #E2B5FD

    oklch(83.7% 0.109 312.4)

  • #FFB699

    #FFB699

    oklch(83.8% 0.094 42.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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