#31A748
Closest named color: Medium Green (#39AD48). oklch(64.3% 0.17 146.5), rgb(49, 167, 72).
Aa
Black text reads best on this color (6.75:1).
About this color
#31A748 is a medium-light, vivid green. In OKLCH its lightness is 64%, its chroma 0.170 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.019 away. Black text reads best on it, at 6.75:1.
| Hue family | Greens |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 6.75:1 |
| White text | 3.11:1 |
Values
| HEX | #31A748 |
| RGB | rgb(49, 167, 72) |
| HSL | hsl(132, 55%, 42%) |
| OKLCH | oklch(64.3% 0.17 146.5) |
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 #31A748 | 3.11:1 | AA large text | Lc -63.0 | Content text, not long reading |
| Black text on #31A748 | 6.75:1 | AA | Lc 46.4 | Large or bold text, headings |
| #31A748 text on white | 3.11:1 | AA large text | Lc 57.7 | Large or bold text, headings |
| #31A748 text on black | 6.75:1 | AA | Lc -44.1 | 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
#F1F8F1
oklch(97.2% 0.012 145.5)
-
Step 100
100
#E0EEE1
oklch(93.5% 0.023 147.4)
-
Step 200
200
#C6E2C8
oklch(88.5% 0.046 147.2)
-
Step 300
300
#9ED0A1
oklch(81% 0.084 146.3)
-
Step 400
400
#64B76D
oklch(70.8% 0.134 146.4)
-
Step 500
500 (this color)
#31A748
oklch(64.3% 0.17 146.5)
-
Step 600
600
#008C2E
oklch(55.7% 0.168 146.5)
-
Step 700
700
#007525
oklch(49% 0.148 146.5)
-
Step 800
800
#00601D
oklch(42.6% 0.128 146.5)
-
Step 900
900
#045019
oklch(37.7% 0.11 146.7)
-
Step 950
950
#082F10
oklch(27% 0.07 146.9)
#31A748 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) | #A9983F | 0.131 |
| Deuteranopia (no green cones) | #9B8E4F | 0.130 |
| Tritanopia (no blue cones) | #00A392 | 0.101 |
| Achromatopsia (no color) | #929292 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31A748
#31A748
oklch(64.3% 0.17 146.5)
- #C062C3
#C062C3
oklch(64.2% 0.171 326.2)
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 #31A748, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.019
- Mid Green #50A747 ΔE 0.021
- Kelly Green #02AB2E ΔE 0.033
- Shamrock #01B44C ΔE 0.037
- Dark Pastel Green #56AE57 ΔE 0.039
- Jade Green #2BAF6A ΔE 0.040
- Grass #5CAC2D ΔE 0.041
- Seaweed Green #35AD6B ΔE 0.041
Use #31A748 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.