#338D4C
Closest named color: Sea Green (#2E8B57). oklch(57.3% 0.13 149.5), rgb(51, 141, 76).
Aa
Black text reads best on this color (5.05:1).
About this color
#338D4C is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.130 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.017 away. Black text reads best on it, at 5.05:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.130) |
| Temperature | in between |
| Nearest name | Sea Green (#2E8B57) |
| Black text | 5.05:1 |
| White text | 4.15:1 |
Values
| HEX | #338D4C |
| RGB | rgb(51, 141, 76) |
| HSL | hsl(137, 47%, 38%) |
| OKLCH | oklch(57.3% 0.13 149.5) |
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 #338D4C | 4.15:1 | AA large text | Lc -73.8 | Content text, not long reading |
| Black text on #338D4C | 5.05:1 | AA | Lc 35.8 | Non-text elements, placeholder text |
| #338D4C text on white | 4.15:1 | AA large text | Lc 68.3 | Content text, not long reading |
| #338D4C text on black | 5.05:1 | AA | Lc -33.4 | 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
#F2F7F3
oklch(97.1% 0.007 151.9)
-
Step 100
100
#E2EDE4
oklch(93.5% 0.017 151.1)
-
Step 200
200
#CBE0CE
oklch(88.6% 0.033 149.5)
-
Step 300
300
#A7CCAD
oklch(81% 0.058 149.6)
-
Step 400
400
#76B181
oklch(70.7% 0.093 149.4)
-
Step 500
500
#4E9D61
oklch(63% 0.119 149.7)
-
Step 600
600 (this color)
#338D4C
oklch(57.3% 0.13 149.5)
-
Step 700
700
#1E7338
oklch(49.1% 0.122 149.3)
-
Step 800
800
#1C5E2F
oklch(42.8% 0.101 149.4)
-
Step 900
900
#1E4D2A
oklch(37.7% 0.078 149.6)
-
Step 950
950
#132D19
oklch(27% 0.049 149.6)
#338D4C 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) | #8E8147 | 0.107 |
| Deuteranopia (no green cones) | #827950 | 0.105 |
| Tritanopia (no blue cones) | #168A7D | 0.073 |
| Achromatopsia (no color) | #7C7C7C | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338D4C
#338D4C
oklch(57.3% 0.13 149.5)
- #A2599D
#A2599D
oklch(57.3% 0.131 329.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 #338D4C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sea Green #2E8B57 ΔE 0.017
- Fern Green #548D44 ΔE 0.028
- Light Forest Green #4F9153 ΔE 0.029
- Viridian #1E9167 ΔE 0.033
- Kelley Green #009337 ΔE 0.040
- Jungle Green #048243 ΔE 0.042
- Forest Green #228B22 ΔE 0.045
- Dark Sage #598556 ΔE 0.046
Use #338D4C 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.