#478917
Closest named color: Sap Green (#5C8B15). oklch(56.4% 0.157 135.8), rgb(71, 137, 23).
Aa
Black text reads best on this color (4.85:1).
About this color
#478917 is a medium-dark, vivid green. In OKLCH its lightness is 56%, 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.024 away. Black text reads best on it, at 4.85:1.
| Hue family | Greens |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 4.85:1 |
| White text | 4.32:1 |
Values
| HEX | #478917 |
| RGB | rgb(71, 137, 23) |
| HSL | hsl(95, 71%, 31%) |
| OKLCH | oklch(56.4% 0.157 135.8) |
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 #478917 | 4.32:1 | AA large text | Lc -75.1 | Fine for body text |
| Black text on #478917 | 4.85:1 | AA | Lc 34.5 | Non-text elements, placeholder text |
| #478917 text on white | 4.32:1 | AA large text | Lc 69.6 | Content text, not long reading |
| #478917 text on black | 4.85:1 | AA | Lc -32.0 | 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)
#478917
oklch(56.4% 0.157 135.8)
-
Step 700
700
#367200
oklch(49.2% 0.146 135.8)
-
Step 800
800
#2D5D09
oklch(42.8% 0.121 135.9)
-
Step 900
900
#294C13
oklch(37.6% 0.094 135.7)
-
Step 950
950
#182D0D
oklch(27.1% 0.06 136.2)
#478917 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) | #8E7D00 | 0.095 |
| Deuteranopia (no green cones) | #867825 | 0.096 |
| Tritanopia (no blue cones) | #448474 | 0.111 |
| Achromatopsia (no color) | #7A7A7A | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #478917
#478917
oklch(56.4% 0.157 135.8)
- #9854B3
#9854B3
oklch(56.4% 0.156 315.5)
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 #478917, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.024
- Forest Green #228B22 ΔE 0.024
- Dark Grass Green #388004 ΔE 0.033
- Emerald Green #028F1E ΔE 0.035
- Mossy Green #638B27 ΔE 0.036
- Kelley Green #009337 ΔE 0.038
- Irish Green #019529 ΔE 0.041
- Fern Green #548D44 ΔE 0.043
Use #478917 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.