#4C8A12
Closest named color: Sap Green (#5C8B15). oklch(56.9% 0.157 134.4), rgb(76, 138, 18).
Aa
Black text reads best on this color (4.95:1).
About this color
#4C8A12 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.157 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.018 away. Black text reads best on it, at 4.95:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 4.95:1 |
| White text | 4.24:1 |
Values
| HEX | #4C8A12 |
| RGB | rgb(76, 138, 18) |
| HSL | hsl(91, 77%, 31%) |
| OKLCH | oklch(56.9% 0.157 134.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 #4C8A12 | 4.24:1 | AA large text | Lc -74.5 | Content text, not long reading |
| Black text on #4C8A12 | 4.95:1 | AA | Lc 35.1 | Non-text elements, placeholder text |
| #4C8A12 text on white | 4.24:1 | AA large text | Lc 69.0 | Content text, not long reading |
| #4C8A12 text on black | 4.95:1 | AA | Lc -32.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
#E4EDDF
oklch(93.5% 0.021 134.1)
-
Step 200
200
#CFDFC5
oklch(88.5% 0.039 133.2)
-
Step 300
300
#AECB9D
oklch(80.9% 0.07 134.1)
-
Step 400
400
#82B066
oklch(70.6% 0.113 134.5)
-
Step 500
500
#629C39
oklch(63.1% 0.145 134.5)
-
Step 600
600 (this color)
#4C8A12
oklch(56.9% 0.157 134.4)
-
Step 700
700
#3B7100
oklch(49.2% 0.142 134.3)
-
Step 800
800
#305C03
oklch(42.6% 0.121 134.2)
-
Step 900
900
#2B4C11
oklch(37.7% 0.094 134.3)
-
Step 950
950
#192D0C
oklch(27.1% 0.061 134.9)
#4C8A12 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) | #907E00 | 0.093 |
| Deuteranopia (no green cones) | #877922 | 0.093 |
| Tritanopia (no blue cones) | #4B8475 | 0.116 |
| Achromatopsia (no color) | #7B7B7B | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4C8A12
#4C8A12
oklch(56.9% 0.157 134.4)
- #9956B6
#9956B6
oklch(57% 0.157 314.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 #4C8A12, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.018
- Forest Green #228B22 ΔE 0.029
- Mossy Green #638B27 ΔE 0.032
- Emerald Green #028F1E ΔE 0.038
- Dark Grass Green #388004 ΔE 0.038
- Kelley Green #009337 ΔE 0.040
- Olive Drab #6B8E23 ΔE 0.042
- Fern Green #548D44 ΔE 0.042
Use #4C8A12 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.