#21B334

Closest named color: Shamrock (#01B44C). oklch(67% 0.203 144.3), rgb(33, 179, 52).

Aa

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

About this color

#21B334 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.203 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.020 away. Black text reads best on it, at 7.56:1.

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

Values

HEX#21B334
RGBrgb(33, 179, 52)
HSLhsl(128, 69%, 42%)
OKLCHoklch(67% 0.203 144.3)

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 #21B334 2.77:1 Fails Lc -58.2 Large or bold text, headings
Black text on #21B334 7.56:1 AAA Lc 51.1 Large or bold text, headings
#21B334 text on white 2.77:1 Fails Lc 52.9 Large or bold text, headings
#21B334 text on black 7.56:1 AAA Lc -48.9 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

    #DCF1DB

    oklch(93.7% 0.037 144)

  3. Step 200

    200

    #BDE6BC

    oklch(88.5% 0.071 144.3)

  4. Step 300

    300

    #8CD68C

    oklch(80.9% 0.126 144.3)

  5. Step 400

    400 (this color)

    #21B334

    oklch(67% 0.203 144.3)

  6. Step 500

    500

    #00A625

    oklch(63% 0.202 144.3)

  7. Step 600

    600

    #008C1E

    oklch(55.6% 0.178 144.3)

  8. Step 700

    700

    #007618

    oklch(49.1% 0.157 144.4)

  9. Step 800

    800

    #006111

    oklch(42.8% 0.138 144.2)

  10. Step 900

    900

    #00510D

    oklch(37.8% 0.121 144.3)

  11. Step 950

    950

    #003005

    oklch(26.9% 0.086 144.4)

Export this scale for Tailwind in the Tailwind colors tool

#21B334 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)#B6A2200.148
Deuteranopia (no green cones)#A797410.149
Tritanopia (no blue cones)#00AE9A0.128
Achromatopsia (no color)#9B9B9B0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #21B334

    #21B334

    oklch(67% 0.203 144.3)

  • #D060D9

    #D060D9

    oklch(67% 0.203 324.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21B334

    #21B334

    oklch(67% 0.203 144.3)

  • #949E00

    #949E00

    oklch(66.8% 0.15 114.2)

  • #00AE90

    #00AE90

    oklch(67% 0.127 174.5)

Open the analogous palette in the generator

Split complementary

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

  • #21B334

    #21B334

    oklch(67% 0.203 144.3)

  • #9F76FF

    #9F76FF

    oklch(67% 0.196 294.3)

  • #EE529D

    #EE529D

    oklch(67% 0.203 354.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21B334

    #21B334

    oklch(67% 0.203 144.3)

  • #5E8FFF

    #5E8FFF

    oklch(67% 0.174 264.4)

  • #F95253

    #F95253

    oklch(66.9% 0.203 24.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21B334

    #21B334

    oklch(67% 0.203 144.3)

  • #00A1DE

    #00A1DE

    oklch(66.9% 0.141 234.6)

  • #D060D9

    #D060D9

    oklch(67% 0.203 324.6)

  • #E17300

    #E17300

    oklch(67% 0.167 54.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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