#AFD28C

Closest named color: Pale Olive (#B9CC81). oklch(82.1% 0.101 130), rgb(175, 210, 140).

Aa

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

About this color

#AFD28C is a light, moderately saturated green. In OKLCH its lightness is 82%, its chroma 0.101 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.019 away. Black text reads best on it, at 12.42:1.

Hue familyGreens
Lightnesslight (82%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text12.42:1
White text1.69:1

Values

HEX#AFD28C
RGBrgb(175, 210, 140)
HSLhsl(90, 44%, 69%)
OKLCHoklch(82.1% 0.101 130)

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 #AFD28C 1.69:1 Fails Lc -33.8 Non-text elements, placeholder text
Black text on #AFD28C 12.42:1 AAA Lc 73.8 Content text, not long reading
#AFD28C text on white 1.69:1 Fails Lc 30.0 Non-text elements, placeholder text
#AFD28C text on black 12.42:1 AAA Lc -72.8 Content text, not long reading

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

    #F2F7EE

    oklch(97% 0.013 130.8)

  2. Step 100

    100

    #E3EEDA

    oklch(93.5% 0.029 130.7)

  3. Step 200

    200

    #CDE1BB

    oklch(88.5% 0.055 130.2)

  4. Step 300

    300 (this color)

    #AFD28C

    oklch(82.1% 0.101 130)

  5. Step 400

    400

    #7EB439

    oklch(70.8% 0.162 130.2)

  6. Step 500

    500

    #669C00

    oklch(63% 0.17 129.9)

  7. Step 600

    600

    #558300

    oklch(55.5% 0.149 129.9)

  8. Step 700

    700

    #476E00

    oklch(49% 0.131 129.8)

  9. Step 800

    800

    #395A00

    oklch(42.6% 0.114 129.9)

  10. Step 900

    900

    #2F4B00

    oklch(37.6% 0.101 129.8)

  11. Step 950

    950

    #1A2D00

    oklch(27% 0.073 130.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFD28C 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)#D8C9870.056
Deuteranopia (no green cones)#D3C68F0.057
Tritanopia (no blue cones)#B1CCC00.077
Achromatopsia (no color)#C7C7C70.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD28C

    #AFD28C

    oklch(82.1% 0.101 130)

  • #D9B2F6

    #D9B2F6

    oklch(82.1% 0.102 310.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD28C

    #AFD28C

    oklch(82.1% 0.101 130)

  • #D4C678

    #D4C678

    oklch(82.1% 0.1 99.3)

  • #88D9AE

    #88D9AE

    oklch(82.1% 0.101 159.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFD28C

    #AFD28C

    oklch(82.1% 0.101 130)

  • #B8BFFF

    #B8BFFF

    oklch(82.2% 0.09 279.4)

  • #F1ABD9

    #F1ABD9

    oklch(82.1% 0.101 340)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD28C

    #AFD28C

    oklch(82.1% 0.101 130)

  • #96CAFF

    #96CAFF

    oklch(82.2% 0.093 249.5)

  • #FEA9B6

    #FEA9B6

    oklch(82.1% 0.101 9.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD28C

    #AFD28C

    oklch(82.1% 0.101 130)

  • #72D4F2

    #72D4F2

    oklch(82.1% 0.101 220.2)

  • #D9B2F6

    #D9B2F6

    oklch(82.1% 0.102 310.3)

  • #FDAE93

    #FDAE93

    oklch(82% 0.101 39.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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