#31A217
Closest named color: Grassy Green (#419C03). oklch(62.5% 0.195 140.8), rgb(49, 162, 23).
Aa
Black text reads best on this color (6.31:1).
About this color
#31A217 is a medium-light, vivid green. In OKLCH its lightness is 62%, its chroma 0.195 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grassy Green (#419C03), ΔE 0.017 away. Black text reads best on it, at 6.31:1.
| Hue family | Greens |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.195) |
| Temperature | in between |
| Nearest name | Grassy Green (#419C03) |
| Black text | 6.31:1 |
| White text | 3.32:1 |
Values
| HEX | #31A217 |
| RGB | rgb(49, 162, 23) |
| HSL | hsl(109, 75%, 36%) |
| OKLCH | oklch(62.5% 0.195 140.8) |
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 #31A217 | 3.32:1 | AA large text | Lc -65.6 | Content text, not long reading |
| Black text on #31A217 | 6.31:1 | AA | Lc 43.9 | Non-text elements, placeholder text |
| #31A217 text on white | 3.32:1 | AA large text | Lc 60.2 | Content text, not long reading |
| #31A217 text on black | 6.31:1 | AA | Lc -41.6 | Non-text elements, placeholder text |
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
#E0EFDE
oklch(93.6% 0.028 142)
-
Step 200
200
#C7E2C2
oklch(88.4% 0.052 140.8)
-
Step 300
300
#9FD096
oklch(80.8% 0.095 140.7)
-
Step 400
400
#67B759
oklch(70.6% 0.152 140.8)
-
Step 500
500 (this color)
#31A217
oklch(62.5% 0.195 140.8)
-
Step 600
600
#218B00
oklch(55.6% 0.182 140.7)
-
Step 700
700
#1A7500
oklch(49.1% 0.161 140.8)
-
Step 800
800
#136000
oklch(42.7% 0.14 140.8)
-
Step 900
900
#0F5000
oklch(37.7% 0.123 140.7)
-
Step 950
950
#0B2F04
oklch(26.9% 0.08 140.4)
#31A217 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) | #A69200 | 0.133 |
| Deuteranopia (no green cones) | #99892A | 0.133 |
| Tritanopia (no blue cones) | #189D8A | 0.130 |
| Achromatopsia (no color) | #8D8D8D | 0.196 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31A217
#31A217
oklch(62.5% 0.195 140.8)
- #BA57CE
#BA57CE
oklch(62.5% 0.195 320.6)
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 #31A217, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grassy Green #419C03 ΔE 0.017
- Grass Green #3F9B0B ΔE 0.020
- Kelly Green #02AB2E ΔE 0.026
- Leaf Green #5CA904 ΔE 0.041
- Medium Green #39AD48 ΔE 0.044
- Irish Green #019529 ΔE 0.047
- Mid Green #50A747 ΔE 0.047
- True Green #089404 ΔE 0.047
Use #31A217 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.