#338B52
Closest named color: Sea Green (#2E8B57). oklch(56.9% 0.121 152), rgb(51, 139, 82).
Aa
Black text reads best on this color (4.95:1).
About this color
#338B52 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.121 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.007 away. Black text reads best on it, at 4.95:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.121) |
| Temperature | in between |
| Nearest name | Sea Green (#2E8B57) |
| Black text | 4.95:1 |
| White text | 4.23:1 |
Values
| HEX | #338B52 |
| RGB | rgb(51, 139, 82) |
| HSL | hsl(141, 46%, 37%) |
| OKLCH | oklch(56.9% 0.121 152) |
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 #338B52 | 4.23:1 | AA large text | Lc -74.5 | Content text, not long reading |
| Black text on #338B52 | 4.95:1 | AA | Lc 35.1 | Non-text elements, placeholder text |
| #338B52 text on white | 4.23:1 | AA large text | Lc 69.0 | Content text, not long reading |
| #338B52 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
#F2F7F3
oklch(97.1% 0.007 151.9)
-
Step 100
100
#E3EDE5
oklch(93.6% 0.015 151.8)
-
Step 200
200
#CBDFCF
oklch(88.4% 0.03 151.5)
-
Step 300
300
#A7CBB0
oklch(80.8% 0.054 152.7)
-
Step 400
400
#76B186
oklch(70.8% 0.088 152.2)
-
Step 500
500
#4F9D67
oklch(63.2% 0.113 151.9)
-
Step 600
600 (this color)
#338B52
oklch(56.9% 0.121 152)
-
Step 700
700
#20723F
oklch(49% 0.112 152)
-
Step 800
800
#1D5D34
oklch(42.6% 0.094 151.9)
-
Step 900
900
#1F4C2E
oklch(37.6% 0.072 152.3)
-
Step 950
950
#132D1B
oklch(27% 0.047 152.1)
#338B52 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) | #8B804E | 0.103 |
| Deuteranopia (no green cones) | #807856 | 0.102 |
| Tritanopia (no blue cones) | #13897D | 0.064 |
| Achromatopsia (no color) | #7B7B7B | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338B52
#338B52
oklch(56.9% 0.121 152)
- #A05A97
#A05A97
oklch(56.9% 0.122 331.9)
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 #338B52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sea Green #2E8B57 ΔE 0.007
- Viridian #1E9167 ΔE 0.028
- Light Forest Green #4F9153 ΔE 0.032
- Fern Green #548D44 ΔE 0.032
- Dark Sage #598556 ΔE 0.039
- Jungle Green #048243 ΔE 0.040
- Kelley Green #009337 ΔE 0.050
- Moss Green #658B38 ΔE 0.051
Use #338B52 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.