#31B74C
Closest named color: Shamrock (#01B44C). oklch(68.6% 0.186 146.4), rgb(49, 183, 76).
Aa
Black text reads best on this color (8.00:1).
About this color
#31B74C is a medium-light, vivid green. In OKLCH its lightness is 69%, its chroma 0.186 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.016 away. Black text reads best on it, at 8.00:1.
| Hue family | Greens |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.186) |
| Temperature | in between |
| Nearest name | Shamrock (#01B44C) |
| Black text | 8.00:1 |
| White text | 2.62:1 |
Values
| HEX | #31B74C |
| RGB | rgb(49, 183, 76) |
| HSL | hsl(132, 58%, 45%) |
| OKLCH | oklch(68.6% 0.186 146.4) |
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 #31B74C | 2.62:1 | Fails | Lc -55.8 | Large or bold text, headings |
| Black text on #31B74C | 8.00:1 | AAA | Lc 53.4 | Large or bold text, headings |
| #31B74C text on white | 2.62:1 | Fails | Lc 50.6 | Large or bold text, headings |
| #31B74C text on black | 8.00:1 | AAA | Lc -51.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 400.
-
Step 50
50
#EFF8EF
oklch(97% 0.015 145.5)
-
Step 100
100
#DCF0DD
oklch(93.5% 0.033 146.7)
-
Step 200
200
#BEE5C0
oklch(88.4% 0.065 146.4)
-
Step 300
300
#8DD593
oklch(80.9% 0.117 146.4)
-
Step 400
400 (this color)
#31B74C
oklch(68.6% 0.186 146.4)
-
Step 500
500
#00A637
oklch(63.1% 0.191 146.3)
-
Step 600
600
#008C2D
oklch(55.7% 0.169 146.3)
-
Step 700
700
#007525
oklch(49% 0.148 146.5)
-
Step 800
800
#00601D
oklch(42.6% 0.128 146.5)
-
Step 900
900
#005016
oklch(37.5% 0.114 146.3)
-
Step 950
950
#00300A
oklch(26.9% 0.081 146.4)
#31B74C 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) | #BAA641 | 0.144 |
| Deuteranopia (no green cones) | #AA9C55 | 0.142 |
| Tritanopia (no blue cones) | #00B3A0 | 0.112 |
| Achromatopsia (no color) | #A0A0A0 | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31B74C
#31B74C
oklch(68.6% 0.186 146.4)
- #D36AD6
#D36AD6
oklch(68.5% 0.187 326.3)
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 #31B74C, closest first.
No curated palette has a color within ΔE 0.04 of #31B74C.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shamrock #01B44C ΔE 0.016
- Leafy Green #51B73B ΔE 0.021
- Cool Green #33B864 ΔE 0.026
- Medium Green #39AD48 ΔE 0.028
- Shamrock Green #02C14D ΔE 0.029
- Grass #5CAC2D ΔE 0.037
- Dark Pastel Green #56AE57 ΔE 0.039
- Algae Green #21C36F ΔE 0.043
Use #31B74C 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.