#21AF47
Closest named color: Medium Green (#39AD48). oklch(66.1% 0.185 147.1), rgb(33, 175, 71).
Aa
Black text reads best on this color (7.28:1).
About this color
#21AF47 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.185 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.012 away. Black text reads best on it, at 7.28:1.
| Hue family | Greens |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.185) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.28:1 |
| White text | 2.88:1 |
Values
| HEX | #21AF47 |
| RGB | rgb(33, 175, 71) |
| HSL | hsl(136, 68%, 41%) |
| OKLCH | oklch(66.1% 0.185 147.1) |
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 #21AF47 | 2.88:1 | Fails | Lc -59.8 | Large or bold text, headings |
| Black text on #21AF47 | 7.28:1 | AAA | Lc 49.5 | Large or bold text, headings |
| #21AF47 text on white | 2.88:1 | Fails | Lc 54.5 | Large or bold text, headings |
| #21AF47 text on black | 7.28:1 | AAA | Lc -47.3 | 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.
-
Step 50
50
#F0F8F1
oklch(97.1% 0.013 149.3)
-
Step 100
100
#DFEFE0
oklch(93.6% 0.026 147.1)
-
Step 200
200
#C4E3C6
oklch(88.5% 0.051 146.9)
-
Step 300
300
#9AD19F
oklch(80.9% 0.09 147)
-
Step 400
400
#5BB869
oklch(70.6% 0.144 147.1)
-
Step 500
500 (this color)
#21AF47
oklch(66.1% 0.185 147.1)
-
Step 600
600
#008B31
oklch(55.5% 0.165 147.1)
-
Step 700
700
#007528
oklch(49% 0.145 147.1)
-
Step 800
800
#00601F
oklch(42.6% 0.127 147)
-
Step 900
900
#005019
oklch(37.6% 0.111 147.2)
-
Step 950
950
#03300D
oklch(27.1% 0.077 146.8)
#21AF47 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) | #B19F3C | 0.143 |
| Deuteranopia (no green cones) | #A29450 | 0.143 |
| Tritanopia (no blue cones) | #00AB98 | 0.109 |
| Achromatopsia (no color) | #989898 | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21AF47
#21AF47
oklch(66.1% 0.185 147.1)
- #CB62CC
#CB62CC
oklch(66% 0.185 327.1)
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 #21AF47, closest first.
No curated palette has a color within ΔE 0.04 of #21AF47.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.012
- Shamrock #01B44C ΔE 0.014
- Kelly Green #02AB2E ΔE 0.025
- Mid Green #50A747 ΔE 0.032
- Grass #5CAC2D ΔE 0.035
- Cool Green #33B864 ΔE 0.039
- Dark Pastel Green #56AE57 ΔE 0.039
- Leafy Green #51B73B ΔE 0.039
Use #21AF47 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.