#31B052
Closest named color: Medium Green (#39AD48). oklch(66.8% 0.173 147.9), rgb(49, 176, 82).
Aa
Black text reads best on this color (7.46:1).
About this color
#31B052 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.173 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.011 away. Black text reads best on it, at 7.46:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.46:1 |
| White text | 2.81:1 |
Values
| HEX | #31B052 |
| RGB | rgb(49, 176, 82) |
| HSL | hsl(136, 56%, 44%) |
| OKLCH | oklch(66.8% 0.173 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 #31B052 | 2.81:1 | Fails | Lc -58.9 | Large or bold text, headings |
| Black text on #31B052 | 7.46:1 | AAA | Lc 50.4 | Large or bold text, headings |
| #31B052 text on white | 2.81:1 | Fails | Lc 53.6 | Large or bold text, headings |
| #31B052 text on black | 7.46:1 | AAA | Lc -48.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 500.
-
Step 50
50
#F1F8F1
oklch(97.2% 0.012 145.5)
-
Step 100
100
#E0EFE1
oklch(93.7% 0.024 147.3)
-
Step 200
200
#C5E2C8
oklch(88.4% 0.047 148.1)
-
Step 300
300
#9CD0A2
oklch(80.9% 0.084 147.8)
-
Step 400
400
#5FB76F
oklch(70.6% 0.135 148.1)
-
Step 500
500 (this color)
#31B052
oklch(66.8% 0.173 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
#052F10
oklch(26.9% 0.071 148)
#31B052 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) | #B2A04A | 0.138 |
| Deuteranopia (no green cones) | #A39659 | 0.136 |
| Tritanopia (no blue cones) | #00AC9B | 0.101 |
| Achromatopsia (no color) | #9A9A9A | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31B052
#31B052
oklch(66.8% 0.173 147.9)
- #CB69CA
#CB69CA
oklch(66.8% 0.172 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 #31B052, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.011
- Shamrock #01B44C ΔE 0.019
- Dark Pastel Green #56AE57 ΔE 0.027
- Cool Green #33B864 ΔE 0.027
- Mid Green #50A747 ΔE 0.028
- Jade Green #2BAF6A ΔE 0.029
- Seaweed Green #35AD6B ΔE 0.034
- Grass #5CAC2D ΔE 0.035
Use #31B052 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.