#338D38
Closest named color: Forest Green (#228B22). oklch(57% 0.149 144.2), rgb(51, 141, 56).
Aa
Black text reads best on this color (5.00:1).
About this color
#338D38 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.149 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.024 away. Black text reads best on it, at 5.00:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Forest Green (#228B22) |
| Black text | 5.00:1 |
| White text | 4.19:1 |
Values
| HEX | #338D38 |
| RGB | rgb(51, 141, 56) |
| HSL | hsl(123, 47%, 38%) |
| OKLCH | oklch(57% 0.149 144.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 #338D38 | 4.19:1 | AA large text | Lc -74.1 | Content text, not long reading |
| Black text on #338D38 | 5.00:1 | AA | Lc 35.5 | Non-text elements, placeholder text |
| #338D38 text on white | 4.19:1 | AA large text | Lc 68.6 | Content text, not long reading |
| #338D38 text on black | 5.00: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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E2EDE2
oklch(93.5% 0.019 145.4)
-
Step 200
200
#CBE0CA
oklch(88.5% 0.037 144)
-
Step 300
300
#A7CCA6
oklch(80.8% 0.066 144.3)
-
Step 400
400
#76B275
oklch(70.7% 0.107 144)
-
Step 500
500
#4F9E51
oklch(63% 0.136 144.2)
-
Step 600
600 (this color)
#338D38
oklch(57% 0.149 144.2)
-
Step 700
700
#1F7426
oklch(49.2% 0.139 144.2)
-
Step 800
800
#1D5E21
oklch(42.6% 0.114 144.2)
-
Step 900
900
#1F4D20
oklch(37.6% 0.089 143.9)
-
Step 950
950
#132D14
oklch(26.9% 0.055 144.6)
#338D38 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) | #90802F | 0.111 |
| Deuteranopia (no green cones) | #84793F | 0.109 |
| Tritanopia (no blue cones) | #1F897A | 0.092 |
| Achromatopsia (no color) | #7C7C7C | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338D38
#338D38
oklch(57% 0.149 144.2)
- #A154A8
#A154A8
oklch(57% 0.149 324.1)
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 #338D38, closest first.
No curated palette has a color within ΔE 0.04 of #338D38.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Forest Green #228B22 ΔE 0.024
- Kelley Green #009337 ΔE 0.024
- Emerald Green #028F1E ΔE 0.033
- Fern Green #548D44 ΔE 0.034
- Irish Green #019529 ΔE 0.035
- Sap Green #5C8B15 ΔE 0.038
- Sea Green #2E8B57 ΔE 0.039
- Light Forest Green #4F9153 ΔE 0.043
Use #338D38 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.