#338B71
Closest named color: Viridian (#1E9167). oklch(57.7% 0.093 170.2), rgb(51, 139, 113).
Aa
Black text reads best on this color (5.07:1).
About this color
#338B71 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 58%, its chroma 0.093 and its hue 170°. Its hue sits on the cool side of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.029 away. Black text reads best on it, at 5.07:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.093) |
| Temperature | cool |
| Nearest name | Viridian (#1E9167) |
| Black text | 5.07:1 |
| White text | 4.14:1 |
Values
| HEX | #338B71 |
| RGB | rgb(51, 139, 113) |
| HSL | hsl(162, 46%, 37%) |
| OKLCH | oklch(57.7% 0.093 170.2) |
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 #338B71 | 4.14:1 | AA large text | Lc -73.7 | Content text, not long reading |
| Black text on #338B71 | 5.07:1 | AA | Lc 35.9 | Non-text elements, placeholder text |
| #338B71 text on white | 4.14:1 | AA large text | Lc 68.2 | Content text, not long reading |
| #338B71 text on black | 5.07:1 | AA | Lc -33.4 | 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
#F2F7F5
oklch(97.2% 0.006 170.4)
-
Step 100
100
#E2EDE8
oklch(93.6% 0.013 167.2)
-
Step 200
200
#CBDED7
oklch(88.4% 0.022 171.7)
-
Step 300
300
#A7CABC
oklch(80.9% 0.042 169)
-
Step 400
400
#75AF9A
oklch(70.8% 0.068 169.6)
-
Step 500
500
#4E9A82
oklch(63% 0.085 170.6)
-
Step 600
600 (this color)
#338B71
oklch(57.7% 0.093 170.2)
-
Step 700
700
#1C7059
oklch(49% 0.087 170.2)
-
Step 800
800
#1B5C49
oklch(42.8% 0.073 169.8)
-
Step 900
900
#1E4B3D
oklch(37.7% 0.056 170.2)
-
Step 950
950
#132C24
oklch(27% 0.035 170.7)
#338B71 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) | #878270 | 0.095 |
| Deuteranopia (no green cones) | #7B7973 | 0.092 |
| Tritanopia (no blue cones) | #008C83 | 0.029 |
| Achromatopsia (no color) | #7D7D7D | 0.094 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338B71
#338B71
oklch(57.7% 0.093 170.2)
- #A36281
#A36281
oklch(57.8% 0.093 350.4)
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 #338B71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Viridian #1E9167 ΔE 0.029
- Sea Green #2E8B57 ΔE 0.039
- Dusty Teal #4C9085 ΔE 0.040
- Dark Cyan #008B8B ΔE 0.041
- Dark Sage #598556 ΔE 0.043
- Ocean Green #3D9973 ΔE 0.044
- Slate Green #658D6D ΔE 0.048
- Teal #008080 ΔE 0.052
Use #338B71 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.