#21B34D
Closest named color: Shamrock (#01B44C). oklch(67.2% 0.185 147.9), rgb(33, 179, 77).
Aa
Black text reads best on this color (7.61:1).
About this color
#21B34D is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.185 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.007 away. Black text reads best on it, at 7.61:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.185) |
| Temperature | in between |
| Nearest name | Shamrock (#01B44C) |
| Black text | 7.61:1 |
| White text | 2.75:1 |
Values
| HEX | #21B34D |
| RGB | rgb(33, 179, 77) |
| HSL | hsl(138, 69%, 42%) |
| OKLCH | oklch(67.2% 0.185 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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #21B34D | 2.75:1 | Fails | Lc -57.9 | Large or bold text, headings |
| Black text on #21B34D | 7.61:1 | AAA | Lc 51.4 | Large or bold text, headings |
| #21B34D text on white | 2.75:1 | Fails | Lc 52.7 | Large or bold text, headings |
| #21B34D text on black | 7.61:1 | AAA | Lc -49.2 | 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.
-
Step 50
50
#EFF8F0
oklch(97% 0.014 148.8)
-
Step 100
100
#DCF0DE
oklch(93.5% 0.032 148.2)
-
Step 200
200
#BDE5C2
oklch(88.4% 0.063 148.5)
-
Step 300
300
#8CD596
oklch(80.9% 0.115 147.8)
-
Step 400
400 (this color)
#21B34D
oklch(67.2% 0.185 147.9)
-
Step 500
500
#00A641
oklch(63.2% 0.184 147.9)
-
Step 600
600
#008B35
oklch(55.5% 0.161 147.8)
-
Step 700
700
#00752C
oklch(49% 0.142 148)
-
Step 800
800
#006022
oklch(42.6% 0.124 147.8)
-
Step 900
900
#00501B
oklch(37.6% 0.109 147.8)
-
Step 950
950
#00300D
oklch(27% 0.078 147.8)
#21B34D 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #B5A243 | 0.146 |
| Deuteranopia (no green cones) | #A59755 | 0.145 |
| Tritanopia (no blue cones) | #00AF9C | 0.107 |
| Achromatopsia (no color) | #9C9C9C | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21B34D
#21B34D
oklch(67.2% 0.185 147.9)
- #D066CF
#D066CF
oklch(67.3% 0.185 327.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #21B34D, closest first.
No curated palette has a color within ΔE 0.04 of #21B34D.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shamrock #01B44C ΔE 0.007
- Medium Green #39AD48 ΔE 0.017
- Cool Green #33B864 ΔE 0.029
- Leafy Green #51B73B ΔE 0.032
- Kelly Green #02AB2E ΔE 0.034
- Grass #5CAC2D ΔE 0.037
- Dark Pastel Green #56AE57 ΔE 0.037
- Mid Green #50A747 ΔE 0.038
Use #21B34D 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.