#31B227
Closest named color: Kelly Green (#02AB2E). oklch(66.9% 0.205 142.1), rgb(49, 178, 39).
Aa
Black text reads best on this color (7.52:1).
About this color
#31B227 is a medium-light, vivid green. In OKLCH its lightness is 67%, 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.027 away. Black text reads best on it, at 7.52:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.205) |
| Temperature | in between |
| Nearest name | Kelly Green (#02AB2E) |
| Black text | 7.52:1 |
| White text | 2.78:1 |
Values
| HEX | #31B227 |
| RGB | rgb(49, 178, 39) |
| HSL | hsl(116, 64%, 43%) |
| OKLCH | oklch(66.9% 0.205 142.1) |
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 #31B227 | 2.78:1 | Fails | Lc -58.4 | Large or bold text, headings |
| Black text on #31B227 | 7.52:1 | AAA | Lc 50.8 | Large or bold text, headings |
| #31B227 text on white | 2.78:1 | Fails | Lc 53.2 | Large or bold text, headings |
| #31B227 text on black | 7.52:1 | AAA | Lc -48.7 | 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
#EFF9EE
oklch(97.2% 0.018 142.8)
-
Step 100
100
#DCF1DA
oklch(93.6% 0.038 142.8)
-
Step 200
200
#BFE6BA
oklch(88.6% 0.072 141.9)
-
Step 300
300
#8FD688
oklch(81% 0.129 142.2)
-
Step 400
400 (this color)
#31B227
oklch(66.9% 0.205 142.1)
-
Step 500
500
#11A700
oklch(63.2% 0.213 142.1)
-
Step 600
600
#0C8C00
oklch(55.6% 0.187 142.1)
-
Step 700
700
#097600
oklch(49.1% 0.165 142.1)
-
Step 800
800
#066100
oklch(42.8% 0.144 142)
-
Step 900
900
#045100
oklch(37.8% 0.127 142.1)
-
Step 950
950
#013000
oklch(26.8% 0.091 142.2)
#31B227 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) | #B6A100 | 0.143 |
| Deuteranopia (no green cones) | #A89737 | 0.144 |
| Tritanopia (no blue cones) | #03AC98 | 0.134 |
| Achromatopsia (no color) | #9B9B9B | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31B227
#31B227
oklch(66.9% 0.205 142.1)
- #CD60DE
#CD60DE
oklch(66.9% 0.206 322.1)
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 #31B227, closest first.
No curated palette has a color within ΔE 0.04 of #31B227.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Kelly Green #02AB2E ΔE 0.027
- Shamrock #01B44C ΔE 0.027
- Leafy Green #51B73B ΔE 0.031
- Leaf Green #5CA904 ΔE 0.033
- Grass #5CAC2D ΔE 0.034
- Medium Green #39AD48 ΔE 0.034
- Frog Green #58BC08 ΔE 0.043
- Shamrock Green #02C14D ΔE 0.044
Use #31B227 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.