#21AF5A

Closest named color: Medium Green (#39AD48). oklch(66.4% 0.168 151), rgb(33, 175, 90).

Aa

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

About this color

#21AF5A is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.168 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.018 away. Black text reads best on it, at 7.34:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.168)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.34:1
White text2.85:1

Values

HEX#21AF5A
RGBrgb(33, 175, 90)
HSLhsl(144, 68%, 41%)
OKLCHoklch(66.4% 0.168 151)

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 #21AF5A 2.85:1 Fails Lc -59.5 Large or bold text, headings
Black text on #21AF5A 7.34:1 AAA Lc 49.8 Large or bold text, headings
#21AF5A text on white 2.85:1 Fails Lc 54.2 Large or bold text, headings
#21AF5A text on black 7.34:1 AAA Lc -47.6 Large or bold text, headings

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 500.

  1. Step 50

    50

    #F0F8F2

    oklch(97.1% 0.012 153.7)

  2. Step 100

    100

    #DFEFE2

    oklch(93.7% 0.024 151.2)

  3. Step 200

    200

    #C4E2CA

    oklch(88.4% 0.045 151.2)

  4. Step 300

    300

    #9AD0A6

    oklch(80.9% 0.081 151.1)

  5. Step 400

    400

    #5BB875

    oklch(70.8% 0.132 150.8)

  6. Step 500

    500 (this color)

    #21AF5A

    oklch(66.4% 0.168 151)

  7. Step 600

    600

    #008B42

    oklch(55.7% 0.15 151)

  8. Step 700

    700

    #007537

    oklch(49.2% 0.132 151.1)

  9. Step 800

    800

    #00602C

    oklch(42.8% 0.115 151.2)

  10. Step 900

    900

    #005023

    oklch(37.7% 0.102 150.9)

  11. Step 950

    950

    #033013

    oklch(27.2% 0.071 150.4)

Export this scale for Tailwind in the Tailwind colors tool

#21AF5A 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)#B09F530.141
Deuteranopia (no green cones)#A094600.139
Tritanopia (no blue cones)#00AC9B0.092
Achromatopsia (no color)#9999990.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #21AF5A

    #21AF5A

    oklch(66.4% 0.168 151)

  • #CC67C2

    #CC67C2

    oklch(66.3% 0.169 331.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21AF5A

    #21AF5A

    oklch(66.4% 0.168 151)

  • #85A100

    #85A100

    oklch(66.4% 0.16 121.2)

  • #00AB97

    #00AB97

    oklch(66.4% 0.12 180.5)

Open the analogous palette in the generator

Split complementary

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

  • #21AF5A

    #21AF5A

    oklch(66.4% 0.168 151)

  • #A676E9

    #A676E9

    oklch(66.3% 0.169 301.2)

  • #E25F8D

    #E25F8D

    oklch(66.2% 0.169 0.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21AF5A

    #21AF5A

    oklch(66.4% 0.168 151)

  • #6E89F9

    #6E89F9

    oklch(66.3% 0.168 271)

  • #E8644F

    #E8644F

    oklch(66.4% 0.168 31.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21AF5A

    #21AF5A

    oklch(66.4% 0.168 151)

  • #009CE8

    #009CE8

    oklch(66.2% 0.155 241.2)

  • #CC67C2

    #CC67C2

    oklch(66.3% 0.169 331.1)

  • #D57900

    #D57900

    oklch(66.4% 0.154 61.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21AF5A 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.