#338A4B
Closest named color: Sea Green (#2E8B57). oklch(56.5% 0.127 149.5), rgb(51, 138, 75).
Aa
Black text reads best on this color (4.87:1).
About this color
#338A4B is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.127 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.015 away. Black text reads best on it, at 4.87:1.
| Hue family | Greens |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Sea Green (#2E8B57) |
| Black text | 4.87:1 |
| White text | 4.30:1 |
Values
| HEX | #338A4B |
| RGB | rgb(51, 138, 75) |
| HSL | hsl(137, 46%, 37%) |
| OKLCH | oklch(56.5% 0.127 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 #338A4B | 4.30:1 | AA large text | Lc -75.0 | Content text, not long reading |
| Black text on #338A4B | 4.87:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #338A4B text on white | 4.30:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #338A4B text on black | 4.87:1 | AA | Lc -32.2 | 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
#A7CBAD
oklch(80.8% 0.057 149.8)
-
Step 400
400
#77B182
oklch(70.8% 0.091 149.5)
-
Step 500
500
#509D62
oklch(63.1% 0.117 149.6)
-
Step 600
600 (this color)
#338A4B
oklch(56.5% 0.127 149.5)
-
Step 700
700
#21733A
oklch(49.2% 0.118 149.6)
-
Step 800
800
#1E5D30
oklch(42.6% 0.097 149.6)
-
Step 900
900
#1F4D2B
oklch(37.8% 0.077 149.8)
-
Step 950
950
#142D19
oklch(27% 0.048 148.8)
#338A4B 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) | #8B7F46 | 0.104 |
| Deuteranopia (no green cones) | #80774F | 0.103 |
| Tritanopia (no blue cones) | #19887B | 0.070 |
| Achromatopsia (no color) | #7A7A7A | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338A4B
#338A4B
oklch(56.5% 0.127 149.5)
- #9E589A
#9E589A
oklch(56.5% 0.127 329.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 #338A4B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sea Green #2E8B57 ΔE 0.015
- Fern Green #548D44 ΔE 0.032
- Jungle Green #048243 ΔE 0.035
- Light Forest Green #4F9153 ΔE 0.035
- Viridian #1E9167 ΔE 0.036
- Dark Sage #598556 ΔE 0.043
- Kelley Green #009337 ΔE 0.045
- Forest Green #228B22 ΔE 0.046
Use #338A4B 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.