#338F48
Closest named color: Sea Green (#2E8B57). oklch(57.8% 0.137 148), rgb(51, 143, 72).
Aa
Black text reads best on this color (5.16:1).
About this color
#338F48 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.137 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.026 away. Black text reads best on it, at 5.16:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Sea Green (#2E8B57) |
| Black text | 5.16:1 |
| White text | 4.06:1 |
Values
| HEX | #338F48 |
| RGB | rgb(51, 143, 72) |
| HSL | hsl(134, 47%, 38%) |
| OKLCH | oklch(57.8% 0.137 148) |
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 #338F48 | 4.06:1 | AA large text | Lc -73.0 | Content text, not long reading |
| Black text on #338F48 | 5.16:1 | AA | Lc 36.5 | Non-text elements, placeholder text |
| #338F48 text on white | 4.06:1 | AA large text | Lc 67.5 | Content text, not long reading |
| #338F48 text on black | 5.16:1 | AA | Lc -34.1 | 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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E2EDE3
oklch(93.5% 0.018 148.1)
-
Step 200
200
#CBE0CD
oklch(88.6% 0.034 148)
-
Step 300
300
#A6CCAB
oklch(80.9% 0.061 148.6)
-
Step 400
400
#75B27D
oklch(70.8% 0.099 147.7)
-
Step 500
500
#4D9E5C
oklch(63.1% 0.126 148)
-
Step 600
600 (this color)
#338F48
oklch(57.8% 0.137 148)
-
Step 700
700
#1C7333
oklch(49% 0.127 148)
-
Step 800
800
#1B5E2B
oklch(42.7% 0.105 147.9)
-
Step 900
900
#1D4D27
oklch(37.6% 0.082 148.1)
-
Step 950
950
#132D17
oklch(26.9% 0.052 147.4)
#338F48 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) | #908342 | 0.109 |
| Deuteranopia (no green cones) | #857B4D | 0.108 |
| Tritanopia (no blue cones) | #188C7E | 0.079 |
| Achromatopsia (no color) | #7E7E7E | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338F48
#338F48
oklch(57.8% 0.137 148)
- #A459A2
#A459A2
oklch(57.8% 0.137 328.1)
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 #338F48, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sea Green #2E8B57 ΔE 0.026
- Fern Green #548D44 ΔE 0.027
- Light Forest Green #4F9153 ΔE 0.030
- Kelley Green #009337 ΔE 0.032
- Viridian #1E9167 ΔE 0.039
- Forest Green #228B22 ΔE 0.040
- Moss Green #658B38 ΔE 0.045
- Irish Green #019529 ΔE 0.045
Use #338F48 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.