#217B40
Closest named color: Jungle Green (#048243). oklch(51.6% 0.124 150.6), rgb(33, 123, 64).
Aa
White text reads best on this color (5.28:1).
About this color
#217B40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.124 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jungle Green (#048243), ΔE 0.021 away. White text reads best on it, at 5.28:1.
| Hue family | Greens |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.124) |
| Temperature | in between |
| Nearest name | Jungle Green (#048243) |
| Black text | 3.97:1 |
| White text | 5.28:1 |
Values
| HEX | #217B40 |
| RGB | rgb(33, 123, 64) |
| HSL | hsl(141, 58%, 31%) |
| OKLCH | oklch(51.6% 0.124 150.6) |
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 #217B40 | 5.28:1 | AA | Lc -81.3 | Fine for body text |
| Black text on #217B40 | 3.97:1 | AA large text | Lc 28.2 | Dividers and decoration only |
| #217B40 text on white | 5.28:1 | AA | Lc 75.9 | Fine for body text |
| #217B40 text on black | 3.97:1 | AA large text | Lc -25.8 | Dividers and decoration only |
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 700.
-
Step 50
50
#F2F7F3
oklch(97.1% 0.007 151.9)
-
Step 100
100
#E2EDE4
oklch(93.5% 0.017 151.1)
-
Step 200
200
#CAE0CE
oklch(88.5% 0.034 150.8)
-
Step 300
300
#A5CCAD
oklch(80.8% 0.06 151)
-
Step 400
400
#73B281
oklch(70.8% 0.097 150.4)
-
Step 500
500
#4A9E61
oklch(63.1% 0.123 150.4)
-
Step 600
600
#268848
oklch(55.5% 0.132 150.7)
-
Step 700
700 (this color)
#217B40
oklch(51.6% 0.124 150.6)
-
Step 800
800
#175E30
oklch(42.7% 0.102 150.8)
-
Step 900
900
#1B4D2A
oklch(37.6% 0.08 150.6)
-
Step 950
950
#122D19
oklch(26.9% 0.05 150.3)
#217B40 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) | #7C703B | 0.104 |
| Deuteranopia (no green cones) | #716944 | 0.101 |
| Tritanopia (no blue cones) | #00796D | 0.067 |
| Achromatopsia (no color) | #6C6C6C | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #217B40
#217B40
oklch(51.6% 0.124 150.6)
- #8F4A89
#8F4A89
oklch(51.6% 0.125 330.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 #217B40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jungle Green #048243 ΔE 0.021
- Tree Green #2A7E19 ΔE 0.040
- Dark Grass Green #388004 ΔE 0.051
- Sea Green #2E8B57 ΔE 0.053
- Green #008000 ΔE 0.057
- Dark Olive Green #556B2F ΔE 0.060
- Forest Green #228B22 ΔE 0.064
- Muddy Green #657432 ΔE 0.066
Use #217B40 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.