#338A68
Closest named color: Viridian (#1E9167). oklch(57.1% 0.099 164.1), rgb(51, 138, 104).
Aa
Black text reads best on this color (4.97:1).
About this color
#338A68 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.099 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.023 away. Black text reads best on it, at 4.97:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Viridian (#1E9167) |
| Black text | 4.97:1 |
| White text | 4.22:1 |
Values
| HEX | #338A68 |
| RGB | rgb(51, 138, 104) |
| HSL | hsl(157, 46%, 37%) |
| OKLCH | oklch(57.1% 0.099 164.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 #338A68 | 4.22:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #338A68 | 4.97:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #338A68 text on white | 4.22:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #338A68 text on black | 4.97:1 | AA | Lc -32.8 | 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
#E2EDE7
oklch(93.6% 0.014 162.5)
-
Step 200
200
#CBDFD5
oklch(88.6% 0.025 164.4)
-
Step 300
300
#A7CAB9
oklch(80.9% 0.044 164.3)
-
Step 400
400
#76AF95
oklch(70.7% 0.071 164.3)
-
Step 500
500
#4F9B7B
oklch(63.1% 0.091 164.2)
-
Step 600
600 (this color)
#338A68
oklch(57.1% 0.099 164.1)
-
Step 700
700
#1F7152
oklch(49.1% 0.093 163.5)
-
Step 800
800
#1D5C44
oklch(42.7% 0.076 164.3)
-
Step 900
900
#1E4B39
oklch(37.5% 0.059 164.6)
-
Step 950
950
#132C21
oklch(26.9% 0.038 163.5)
#338A68 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) | #878066 | 0.097 |
| Deuteranopia (no green cones) | #7B786A | 0.093 |
| Tritanopia (no blue cones) | #008A81 | 0.039 |
| Achromatopsia (no color) | #7B7B7B | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338A68
#338A68
oklch(57.1% 0.099 164.1)
- #A15F86
#A15F86
oklch(57.2% 0.099 344.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 #338A68, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Viridian #1E9167 ΔE 0.023
- Sea Green #2E8B57 ΔE 0.026
- Dark Sage #598556 ΔE 0.036
- Light Forest Green #4F9153 ΔE 0.046
- Ocean Green #3D9973 ΔE 0.046
- Slate Green #658D6D ΔE 0.051
- Dusty Teal #4C9085 ΔE 0.051
- Dark Cyan #008B8B ΔE 0.053
Use #338A68 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.