#4D8F1F
Closest named color: Sap Green (#5C8B15). oklch(58.4% 0.157 135.7), rgb(77, 143, 31).
Aa
Black text reads best on this color (5.26:1).
About this color
#4D8F1F is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.157 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.017 away. Black text reads best on it, at 5.26:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.26:1 |
| White text | 3.98:1 |
Values
| HEX | #4D8F1F |
| RGB | rgb(77, 143, 31) |
| HSL | hsl(95, 64%, 34%) |
| OKLCH | oklch(58.4% 0.157 135.7) |
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 #4D8F1F | 3.98:1 | AA large text | Lc -72.4 | Content text, not long reading |
| Black text on #4D8F1F | 5.26:1 | AA | Lc 37.1 | Non-text elements, placeholder text |
| #4D8F1F text on white | 3.98:1 | AA large text | Lc 66.9 | Content text, not long reading |
| #4D8F1F text on black | 5.26:1 | AA | Lc -34.7 | 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 600.
-
Step 50
50
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E4EDE0
oklch(93.6% 0.02 135.8)
-
Step 200
200
#CEDFC6
oklch(88.4% 0.038 135.5)
-
Step 300
300
#ADCC9E
oklch(81% 0.071 135.5)
-
Step 400
400
#80B168
oklch(70.8% 0.114 135.9)
-
Step 500
500
#5F9C3C
oklch(63% 0.144 135.8)
-
Step 600
600 (this color)
#4D8F1F
oklch(58.4% 0.157 135.7)
-
Step 700
700
#367200
oklch(49.2% 0.146 135.8)
-
Step 800
800
#2D5D08
oklch(42.8% 0.121 135.8)
-
Step 900
900
#294C13
oklch(37.6% 0.094 135.7)
-
Step 950
950
#182D0D
oklch(27.1% 0.06 136.2)
#4D8F1F 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) | #948303 | 0.094 |
| Deuteranopia (no green cones) | #8C7D2B | 0.097 |
| Tritanopia (no blue cones) | #4B897A | 0.114 |
| Achromatopsia (no color) | #7F7F7F | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4D8F1F
#4D8F1F
oklch(58.4% 0.157 135.7)
- #9E5ABA
#9E5ABA
oklch(58.4% 0.157 315.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 #4D8F1F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.017
- Mossy Green #638B27 ΔE 0.028
- Olive Drab #6B8E23 ΔE 0.035
- Forest Green #228B22 ΔE 0.035
- Kelley Green #009337 ΔE 0.036
- Fern Green #548D44 ΔE 0.037
- Irish Green #019529 ΔE 0.037
- Grass Green #3F9B0B ΔE 0.039
Use #4D8F1F 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.