#AFD272

Closest named color: Pale Olive Green (#B1D27B). oklch(81.7% 0.129 125.6), rgb(175, 210, 114).

Aa

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

About this color

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

Hue familyGreens
Lightnesslight (82%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest namePale Olive Green (#B1D27B)
Black text12.28:1
White text1.70:1

Values

HEX#AFD272
RGBrgb(175, 210, 114)
HSLhsl(82, 52%, 64%)
OKLCHoklch(81.7% 0.129 125.6)

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 #AFD272 1.70:1 Fails Lc -34.4 Non-text elements, placeholder text
Black text on #AFD272 12.28:1 AAA Lc 73.2 Content text, not long reading
#AFD272 text on white 1.70:1 Fails Lc 30.6 Non-text elements, placeholder text
#AFD272 text on black 12.28:1 AAA Lc -72.2 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

    #F2F8EB

    oklch(97.1% 0.018 127.1)

  2. Step 100

    100

    #E4EFD4

    oklch(93.7% 0.038 125.2)

  3. Step 200

    200

    #CEE2AF

    oklch(88.5% 0.071 125.2)

  4. Step 300

    300 (this color)

    #AFD272

    oklch(81.7% 0.129 125.6)

  5. Step 400

    400

    #86B300

    oklch(70.8% 0.179 125.6)

  6. Step 500

    500

    #729900

    oklch(63.1% 0.16 125.6)

  7. Step 600

    600

    #608100

    oklch(55.7% 0.141 125.5)

  8. Step 700

    700

    #506C00

    oklch(49.1% 0.124 125.4)

  9. Step 800

    800

    #415900

    oklch(42.8% 0.109 125.6)

  10. Step 900

    900

    #354A00

    oklch(37.7% 0.096 125.9)

  11. Step 950

    950

    #1E2C00

    oklch(27% 0.069 126.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFD272 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)#DBC76A0.062
Deuteranopia (no green cones)#D6C5770.063
Tritanopia (no blue cones)#B4CABB0.103
Achromatopsia (no color)#C6C6C60.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD272

    #AFD272

    oklch(81.7% 0.129 125.6)

  • #D5B0FF

    #D5B0FF

    oklch(81.7% 0.115 305.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD272

    #AFD272

    oklch(81.7% 0.129 125.6)

  • #DDC258

    #DDC258

    oklch(81.7% 0.129 95.1)

  • #77DC9F

    #77DC9F

    oklch(81.7% 0.129 155.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFD272

    #AFD272

    oklch(81.7% 0.129 125.6)

  • #B2BFFF

    #B2BFFF

    oklch(81.8% 0.092 275.3)

  • #F7A2E4

    #F7A2E4

    oklch(81.6% 0.13 335.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD272

    #AFD272

    oklch(81.7% 0.129 125.6)

  • #8DCAFF

    #8DCAFF

    oklch(81.7% 0.098 245.6)

  • #FFA5B9

    #FFA5B9

    oklch(81.6% 0.109 5.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD272

    #AFD272

    oklch(81.7% 0.129 125.6)

  • #42D8F8

    #42D8F8

    oklch(81.8% 0.129 215.5)

  • #D5B0FF

    #D5B0FF

    oklch(81.7% 0.115 305.4)

  • #FFAB94

    #FFAB94

    oklch(81.8% 0.105 36)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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