#21B938

Closest named color: Shamrock Green (#02C14D). oklch(68.6% 0.207 144.6), rgb(33, 185, 56).

Aa

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

About this color

#21B938 is a medium-light, vivid green. In OKLCH its lightness is 69%, its chroma 0.207 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock Green (#02C14D), ΔE 0.024 away. Black text reads best on it, at 8.06:1.

Hue familyGreens
Lightnessmedium-light (69%)
Chromavivid (0.207)
Temperaturein between
Nearest nameShamrock Green (#02C14D)
Black text8.06:1
White text2.60:1

Values

HEX#21B938
RGBrgb(33, 185, 56)
HSLhsl(129, 70%, 43%)
OKLCHoklch(68.6% 0.207 144.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 #21B938 2.60:1 Fails Lc -55.4 Large or bold text, headings
Black text on #21B938 8.06:1 AAA Lc 53.8 Large or bold text, headings
#21B938 text on white 2.60:1 Fails Lc 50.2 Large or bold text, headings
#21B938 text on black 8.06:1 AAA Lc -51.7 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

    #DBF1DB

    oklch(93.6% 0.037 145.3)

  3. Step 200

    200

    #BDE6BC

    oklch(88.5% 0.071 144.3)

  4. Step 300

    300

    #8AD78B

    oklch(81% 0.13 144.5)

  5. Step 400

    400 (this color)

    #21B938

    oklch(68.6% 0.207 144.6)

  6. Step 500

    500

    #00A628

    oklch(63% 0.201 144.6)

  7. Step 600

    600

    #008C20

    oklch(55.6% 0.177 144.6)

  8. Step 700

    700

    #00761A

    oklch(49.2% 0.156 144.6)

  9. Step 800

    800

    #006113

    oklch(42.8% 0.136 144.5)

  10. Step 900

    900

    #00510F

    oklch(37.8% 0.12 144.7)

  11. Step 950

    950

    #003006

    oklch(26.9% 0.085 144.8)

Export this scale for Tailwind in the Tailwind colors tool

#21B938 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)#BCA7250.152
Deuteranopia (no green cones)#AC9C450.153
Tritanopia (no blue cones)#00B49F0.129
Achromatopsia (no color)#A0A0A00.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #21B938

    #21B938

    oklch(68.6% 0.207 144.6)

  • #D763E0

    #D763E0

    oklch(68.6% 0.208 324.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21B938

    #21B938

    oklch(68.6% 0.207 144.6)

  • #99A400

    #99A400

    oklch(68.6% 0.155 114.5)

  • #00B495

    #00B495

    oklch(68.7% 0.13 174.5)

Open the analogous palette in the generator

Split complementary

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

  • #21B938

    #21B938

    oklch(68.6% 0.207 144.6)

  • #A47EFF

    #A47EFF

    oklch(68.7% 0.185 294.6)

  • #F655A1

    #F655A1

    oklch(68.7% 0.208 354.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21B938

    #21B938

    oklch(68.6% 0.207 144.6)

  • #6695FF

    #6695FF

    oklch(68.6% 0.165 264.5)

  • #FF5857

    #FF5857

    oklch(68.6% 0.203 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21B938

    #21B938

    oklch(68.6% 0.207 144.6)

  • #00A7E6

    #00A7E6

    oklch(68.7% 0.145 234.5)

  • #D763E0

    #D763E0

    oklch(68.6% 0.208 324.7)

  • #E87700

    #E87700

    oklch(68.6% 0.171 54.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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