#21AB4A

Closest named color: Medium Green (#39AD48). oklch(65% 0.178 147.9), rgb(33, 171, 74).

Aa

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

About this color

#21AB4A is a medium-light, vivid green. In OKLCH its lightness is 65%, its chroma 0.178 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.013 away. Black text reads best on it, at 6.98:1.

Hue familyGreens
Lightnessmedium-light (65%)
Chromavivid (0.178)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text6.98:1
White text3.00:1

Values

HEX#21AB4A
RGBrgb(33, 171, 74)
HSLhsl(138, 68%, 40%)
OKLCHoklch(65% 0.178 147.9)

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 #21AB4A 3.00:1 AA large text Lc -61.5 Content text, not long reading
Black text on #21AB4A 6.98:1 AA Lc 47.9 Large or bold text, headings
#21AB4A text on white 3.00:1 AA large text Lc 56.2 Large or bold text, headings
#21AB4A text on black 6.98:1 AA Lc -45.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

    #F0F8F1

    oklch(97.1% 0.013 149.3)

  2. Step 100

    100

    #DFEFE1

    oklch(93.6% 0.025 149.1)

  3. Step 200

    200

    #C5E2C8

    oklch(88.4% 0.047 148.1)

  4. Step 300

    300

    #9AD1A1

    oklch(81% 0.088 148.1)

  5. Step 400

    400

    #5DB86D

    oklch(70.8% 0.139 147.8)

  6. Step 500

    500 (this color)

    #21AB4A

    oklch(65% 0.178 147.9)

  7. Step 600

    600

    #008B35

    oklch(55.5% 0.161 147.8)

  8. Step 700

    700

    #00752C

    oklch(49% 0.142 148)

  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

    #04300F

    oklch(27.1% 0.074 147.5)

Export this scale for Tailwind in the Tailwind colors tool

#21AB4A 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)#AD9B410.141
Deuteranopia (no green cones)#9E91520.139
Tritanopia (no blue cones)#00A7950.103
Achromatopsia (no color)#9595950.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #21AB4A

    #21AB4A

    oklch(65% 0.178 147.9)

  • #C761C5

    #C761C5

    oklch(65% 0.178 328.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21AB4A

    #21AB4A

    oklch(65% 0.178 147.9)

  • #889B00

    #889B00

    oklch(65.2% 0.152 118.1)

  • #00A78F

    #00A78F

    oklch(65.1% 0.12 177.6)

Open the analogous palette in the generator

Split complementary

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

  • #21AB4A

    #21AB4A

    oklch(65% 0.178 147.9)

  • #9E72EC

    #9E72EC

    oklch(65.1% 0.178 297.9)

  • #E0578F

    #E0578F

    oklch(65% 0.178 357.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21AB4A

    #21AB4A

    oklch(65% 0.178 147.9)

  • #6186FA

    #6186FA

    oklch(65% 0.177 267.9)

  • #E75A4E

    #E75A4E

    oklch(64.9% 0.177 27.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21AB4A

    #21AB4A

    oklch(65% 0.178 147.9)

  • #009ADC

    #009ADC

    oklch(65.1% 0.144 237.8)

  • #C761C5

    #C761C5

    oklch(65% 0.178 328.1)

  • #D37200

    #D37200

    oklch(64.9% 0.156 57.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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