#338B4D
Closest named color: Sea Green (#2E8B57). oklch(56.8% 0.126 150.1), rgb(51, 139, 77).
Aa
Black text reads best on this color (4.94:1).
About this color
#338B4D is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.126 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.013 away. Black text reads best on it, at 4.94:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.126) |
| Temperature | in between |
| Nearest name | Sea Green (#2E8B57) |
| Black text | 4.94:1 |
| White text | 4.25:1 |
Values
| HEX | #338B4D |
| RGB | rgb(51, 139, 77) |
| HSL | hsl(138, 46%, 37%) |
| OKLCH | oklch(56.8% 0.126 150.1) |
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 #338B4D | 4.25:1 | AA large text | Lc -74.5 | Content text, not long reading |
| Black text on #338B4D | 4.94:1 | AA | Lc 35.0 | Non-text elements, placeholder text |
| #338B4D text on white | 4.25:1 | AA large text | Lc 69.1 | Content text, not long reading |
| #338B4D text on black | 4.94:1 | AA | Lc -32.6 | 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
#E3EDE4
oklch(93.6% 0.016 148.4)
-
Step 200
200
#CBDFCE
oklch(88.4% 0.031 149.8)
-
Step 300
300
#A7CCAE
oklch(81% 0.057 150.5)
-
Step 400
400
#76B183
oklch(70.7% 0.091 150.5)
-
Step 500
500
#509D63
oklch(63.1% 0.116 150)
-
Step 600
600 (this color)
#338B4D
oklch(56.8% 0.126 150.1)
-
Step 700
700
#20733B
oklch(49.2% 0.118 150.2)
-
Step 800
800
#1D5D31
oklch(42.6% 0.097 150.4)
-
Step 900
900
#1F4D2B
oklch(37.8% 0.077 149.8)
-
Step 950
950
#132D1A
oklch(27% 0.048 150.8)
#338B4D 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) | #8C8048 | 0.105 |
| Deuteranopia (no green cones) | #807851 | 0.102 |
| Tritanopia (no blue cones) | #17897C | 0.069 |
| Achromatopsia (no color) | #7B7B7B | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338B4D
#338B4D
oklch(56.8% 0.126 150.1)
- #A0599A
#A0599A
oklch(56.9% 0.126 330.2)
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 #338B4D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sea Green #2E8B57 ΔE 0.013
- Fern Green #548D44 ΔE 0.030
- Light Forest Green #4F9153 ΔE 0.033
- Viridian #1E9167 ΔE 0.033
- Jungle Green #048243 ΔE 0.038
- Dark Sage #598556 ΔE 0.043
- Kelley Green #009337 ΔE 0.045
- Forest Green #228B22 ΔE 0.047
Use #338B4D 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.