#338D6B
Closest named color: Viridian (#1E9167). oklch(58% 0.101 164.7), rgb(51, 141, 107).
Aa
Black text reads best on this color (5.16:1).
About this color
#338D6B is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.101 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.018 away. Black text reads best on it, at 5.16:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.101) |
| Temperature | in between |
| Nearest name | Viridian (#1E9167) |
| Black text | 5.16:1 |
| White text | 4.06:1 |
Values
| HEX | #338D6B |
| RGB | rgb(51, 141, 107) |
| HSL | hsl(157, 47%, 38%) |
| OKLCH | oklch(58% 0.101 164.7) |
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 #338D6B | 4.06:1 | AA large text | Lc -73.1 | Content text, not long reading |
| Black text on #338D6B | 5.16:1 | AA | Lc 36.5 | Non-text elements, placeholder text |
| #338D6B text on white | 4.06:1 | AA large text | Lc 67.6 | Content text, not long reading |
| #338D6B 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
#F2F7F4
oklch(97.2% 0.007 160.1)
-
Step 100
100
#E2EDE8
oklch(93.6% 0.013 167.2)
-
Step 200
200
#CBDFD5
oklch(88.6% 0.025 164.4)
-
Step 300
300
#A6CAB9
oklch(80.8% 0.045 165)
-
Step 400
400
#75AF95
oklch(70.6% 0.072 164.7)
-
Step 500
500
#4D9B7B
oklch(63.1% 0.092 164.7)
-
Step 600
600 (this color)
#338D6B
oklch(58% 0.101 164.7)
-
Step 700
700
#1B7153
oklch(49.1% 0.093 164.8)
-
Step 800
800
#1A5C44
oklch(42.7% 0.077 164.9)
-
Step 900
900
#1D4C39
oklch(37.8% 0.061 164.1)
-
Step 950
950
#122C22
oklch(26.9% 0.038 166.4)
#338D6B 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) | #8A8369 | 0.099 |
| Deuteranopia (no green cones) | #7E7A6D | 0.096 |
| Tritanopia (no blue cones) | #008D84 | 0.039 |
| Achromatopsia (no color) | #7E7E7E | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338D6B
#338D6B
oklch(58% 0.101 164.7)
- #A46188
#A46188
oklch(58% 0.1 344.8)
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 #338D6B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Viridian #1E9167 ΔE 0.018
- Sea Green #2E8B57 ΔE 0.028
- Ocean Green #3D9973 ΔE 0.037
- Dark Sage #598556 ΔE 0.039
- Light Forest Green #4F9153 ΔE 0.042
- Dusty Teal #4C9085 ΔE 0.046
- Slate Green #658D6D ΔE 0.047
- Dark Cyan #008B8B ΔE 0.052
Use #338D6B 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.