#21B52D

Closest named color: Shamrock (#01B44C). oklch(67.5% 0.21 143.6), rgb(33, 181, 45).

Aa

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

About this color

#21B52D is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.210 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.026 away. Black text reads best on it, at 7.71:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.210)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.71:1
White text2.72:1

Values

HEX#21B52D
RGBrgb(33, 181, 45)
HSLhsl(125, 69%, 42%)
OKLCHoklch(67.5% 0.21 143.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 #21B52D 2.72:1 Fails Lc -57.3 Large or bold text, headings
Black text on #21B52D 7.71:1 AAA Lc 51.9 Large or bold text, headings
#21B52D text on white 2.72:1 Fails Lc 52.1 Large or bold text, headings
#21B52D text on black 7.71:1 AAA Lc -49.8 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 400.

  1. Step 50

    50

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DCF1DA

    oklch(93.6% 0.038 142.8)

  3. Step 200

    200

    #BDE6BB

    oklch(88.4% 0.072 143.7)

  4. Step 300

    300

    #8BD789

    oklch(81% 0.131 143.7)

  5. Step 400

    400 (this color)

    #21B52D

    oklch(67.5% 0.21 143.6)

  6. Step 500

    500

    #00A71C

    oklch(63.2% 0.207 143.6)

  7. Step 600

    600

    #008C16

    oklch(55.5% 0.182 143.6)

  8. Step 700

    700

    #007611

    oklch(49.1% 0.161 143.6)

  9. Step 800

    800

    #00610C

    oklch(42.7% 0.14 143.6)

  10. Step 900

    900

    #005108

    oklch(37.7% 0.124 143.6)

  11. Step 950

    950

    #003103

    oklch(27.2% 0.089 143.6)

Export this scale for Tailwind in the Tailwind colors tool

#21B52D 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)#B9A3100.151
Deuteranopia (no green cones)#A9983C0.152
Tritanopia (no blue cones)#00B09B0.133
Achromatopsia (no color)#9D9D9D0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #21B52D

    #21B52D

    oklch(67.5% 0.21 143.6)

  • #D25FDE

    #D25FDE

    oklch(67.4% 0.21 323.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21B52D

    #21B52D

    oklch(67.5% 0.21 143.6)

  • #97A000

    #97A000

    oklch(67.5% 0.151 113.7)

  • #00B090

    #00B090

    oklch(67.5% 0.129 173.5)

Open the analogous palette in the generator

Split complementary

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

  • #21B52D

    #21B52D

    oklch(67.5% 0.21 143.6)

  • #9F79FF

    #9F79FF

    oklch(67.4% 0.191 293.7)

  • #F150A0

    #F150A0

    oklch(67.4% 0.209 353.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21B52D

    #21B52D

    oklch(67.5% 0.21 143.6)

  • #5E91FF

    #5E91FF

    oklch(67.4% 0.172 263.7)

  • #FD5054

    #FD5054

    oklch(67.4% 0.209 23.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21B52D

    #21B52D

    oklch(67.5% 0.21 143.6)

  • #00A3DF

    #00A3DF

    oklch(67.4% 0.141 233.8)

  • #D25FDE

    #D25FDE

    oklch(67.4% 0.21 323.8)

  • #E47300

    #E47300

    oklch(67.4% 0.17 53.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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