#338B64
Closest named color: Viridian (#1E9167). oklch(57.3% 0.104 161), rgb(51, 139, 100).
Aa
Black text reads best on this color (5.01:1).
About this color
#338B64 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.104 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.019 away. Black text reads best on it, at 5.01:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.104) |
| Temperature | in between |
| Nearest name | Viridian (#1E9167) |
| Black text | 5.01:1 |
| White text | 4.18:1 |
Values
| HEX | #338B64 |
| RGB | rgb(51, 139, 100) |
| HSL | hsl(153, 46%, 37%) |
| OKLCH | oklch(57.3% 0.104 161) |
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 #338B64 | 4.18:1 | AA large text | Lc -74.1 | Content text, not long reading |
| Black text on #338B64 | 5.01:1 | AA | Lc 35.5 | Non-text elements, placeholder text |
| #338B64 text on white | 4.18:1 | AA large text | Lc 68.6 | Content text, not long reading |
| #338B64 text on black | 5.01:1 | AA | Lc -33.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
#E2EDE7
oklch(93.6% 0.014 162.5)
-
Step 200
200
#CBDFD4
oklch(88.6% 0.026 161.9)
-
Step 300
300
#A7CAB7
oklch(80.8% 0.046 161.5)
-
Step 400
400
#76AF91
oklch(70.6% 0.074 160.7)
-
Step 500
500
#4E9B77
oklch(63% 0.095 161.6)
-
Step 600
600 (this color)
#338B64
oklch(57.3% 0.104 161)
-
Step 700
700
#1E714E
oklch(49% 0.097 160.8)
-
Step 800
800
#1C5C40
oklch(42.6% 0.08 160.9)
-
Step 900
900
#1E4C37
oklch(37.8% 0.063 161.4)
-
Step 950
950
#132C20
oklch(26.9% 0.039 161.3)
#338B64 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) | #898162 | 0.099 |
| Deuteranopia (no green cones) | #7D7866 | 0.097 |
| Tritanopia (no blue cones) | #008B80 | 0.043 |
| Achromatopsia (no color) | #7C7C7C | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338B64
#338B64
oklch(57.3% 0.104 161)
- #A15E8A
#A15E8A
oklch(57.2% 0.104 341.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 #338B64, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Viridian #1E9167 ΔE 0.019
- Sea Green #2E8B57 ΔE 0.019
- Dark Sage #598556 ΔE 0.035
- Light Forest Green #4F9153 ΔE 0.040
- Ocean Green #3D9973 ΔE 0.044
- Fern Green #548D44 ΔE 0.048
- Slate Green #658D6D ΔE 0.052
- Jungle Green #048243 ΔE 0.055
Use #338B64 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.