#31AF21
Closest named color: Kelly Green (#02AB2E). oklch(66.1% 0.205 141.6), rgb(49, 175, 33).
Aa
Black text reads best on this color (7.28:1).
About this color
#31AF21 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.205 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelly Green (#02AB2E), ΔE 0.020 away. Black text reads best on it, at 7.28:1.
| Hue family | Greens |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.205) |
| Temperature | in between |
| Nearest name | Kelly Green (#02AB2E) |
| Black text | 7.28:1 |
| White text | 2.88:1 |
Values
| HEX | #31AF21 |
| RGB | rgb(49, 175, 33) |
| HSL | hsl(113, 68%, 41%) |
| OKLCH | oklch(66.1% 0.205 141.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #31AF21 | 2.88:1 | Fails | Lc -59.8 | Large or bold text, headings |
| Black text on #31AF21 | 7.28:1 | AAA | Lc 49.5 | Large or bold text, headings |
| #31AF21 text on white | 2.88:1 | Fails | Lc 54.5 | Large or bold text, headings |
| #31AF21 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
#F1F8F0
oklch(97.2% 0.013 141.8)
-
Step 100
100
#E0EFDD
oklch(93.6% 0.029 140.5)
-
Step 200
200
#C5E3C1
oklch(88.5% 0.056 141.9)
-
Step 300
300
#9CD195
oklch(80.8% 0.099 141.7)
-
Step 400
400
#60B956
oklch(70.8% 0.161 141.7)
-
Step 500
500 (this color)
#31AF21
oklch(66.1% 0.205 141.6)
-
Step 600
600
#158C00
oklch(55.7% 0.186 141.6)
-
Step 700
700
#107600
oklch(49.2% 0.164 141.6)
-
Step 800
800
#0C6100
oklch(42.9% 0.143 141.6)
-
Step 900
900
#085100
oklch(37.8% 0.126 141.6)
-
Step 950
950
#063003
oklch(27% 0.085 141.8)
#31AF21 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) | #B39E00 | 0.142 |
| Deuteranopia (no green cones) | #A59433 | 0.143 |
| Tritanopia (no blue cones) | #0AA995 | 0.135 |
| Achromatopsia (no color) | #989898 | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31AF21
#31AF21
oklch(66.1% 0.205 141.6)
- #C95EDC
#C95EDC
oklch(66% 0.205 321.4)
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 #31AF21, closest first.
No curated palette has a color within ΔE 0.04 of #31AF21.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Kelly Green #02AB2E ΔE 0.020
- Leaf Green #5CA904 ΔE 0.030
- Shamrock #01B44C ΔE 0.030
- Medium Green #39AD48 ΔE 0.033
- Grass #5CAC2D ΔE 0.033
- Leafy Green #51B73B ΔE 0.038
- Mid Green #50A747 ΔE 0.048
- Frog Green #58BC08 ΔE 0.050
Use #31AF21 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.