#21AF4B

Closest named color: Medium Green (#39AD48). oklch(66.1% 0.182 147.8), rgb(33, 175, 75).

Aa

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

About this color

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

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

Values

HEX#21AF4B
RGBrgb(33, 175, 75)
HSLhsl(138, 68%, 41%)
OKLCHoklch(66.1% 0.182 147.8)

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 #21AF4B 2.87:1 Fails Lc -59.7 Large or bold text, headings
Black text on #21AF4B 7.29:1 AAA Lc 49.6 Large or bold text, headings
#21AF4B text on white 2.87:1 Fails Lc 54.4 Large or bold text, headings
#21AF4B text on black 7.29:1 AAA Lc -47.4 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

    #F0F8F1

    oklch(97.1% 0.013 149.3)

  2. Step 100

    100

    #DFEFE0

    oklch(93.6% 0.026 147.1)

  3. Step 200

    200

    #C4E3C7

    oklch(88.6% 0.05 147.8)

  4. Step 300

    300

    #9AD1A0

    oklch(81% 0.089 147.5)

  5. Step 400

    400

    #5BB86C

    oklch(70.7% 0.141 147.9)

  6. Step 500

    500 (this color)

    #21AF4B

    oklch(66.1% 0.182 147.8)

  7. Step 600

    600

    #008B35

    oklch(55.5% 0.161 147.8)

  8. Step 700

    700

    #00752B

    oklch(49% 0.143 147.8)

  9. Step 800

    800

    #006022

    oklch(42.6% 0.124 147.8)

  10. Step 900

    900

    #00501B

    oklch(37.6% 0.109 147.8)

  11. Step 950

    950

    #03300F

    oklch(27.1% 0.075 147.8)

Export this scale for Tailwind in the Tailwind colors tool

#21AF4B 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)#B19F410.143
Deuteranopia (no green cones)#A194530.142
Tritanopia (no blue cones)#00AB990.107
Achromatopsia (no color)#9898980.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #21AF4B

    #21AF4B

    oklch(66.1% 0.182 147.8)

  • #CB63CA

    #CB63CA

    oklch(66% 0.182 327.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21AF4B

    #21AF4B

    oklch(66.1% 0.182 147.8)

  • #8B9E00

    #8B9E00

    oklch(66.1% 0.154 118)

  • #00AA92

    #00AA92

    oklch(66% 0.122 177.8)

Open the analogous palette in the generator

Split complementary

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

  • #21AF4B

    #21AF4B

    oklch(66.1% 0.182 147.8)

  • #A174F2

    #A174F2

    oklch(66% 0.183 297.7)

  • #E55992

    #E55992

    oklch(66.1% 0.181 358)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21AF4B

    #21AF4B

    oklch(66.1% 0.182 147.8)

  • #6389FF

    #6389FF

    oklch(66% 0.18 267.8)

  • #ED5C50

    #ED5C50

    oklch(66.1% 0.182 27.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21AF4B

    #21AF4B

    oklch(66.1% 0.182 147.8)

  • #009DE1

    #009DE1

    oklch(66.1% 0.147 238.1)

  • #CB63CA

    #CB63CA

    oklch(66% 0.182 327.8)

  • #D87500

    #D87500

    oklch(66.1% 0.158 57.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #21AF4B.

Similar named colors

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

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