#338E42
Closest named color: Kelley Green (#009337). oklch(57.4% 0.141 146.4), rgb(51, 142, 66).
Aa
Black text reads best on this color (5.08:1).
About this color
#338E42 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.141 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelley Green (#009337), ΔE 0.028 away. Black text reads best on it, at 5.08:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Kelley Green (#009337) |
| Black text | 5.08:1 |
| White text | 4.12:1 |
Values
| HEX | #338E42 |
| RGB | rgb(51, 142, 66) |
| HSL | hsl(130, 47%, 38%) |
| OKLCH | oklch(57.4% 0.141 146.4) |
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 #338E42 | 4.12:1 | AA large text | Lc -73.5 | Content text, not long reading |
| Black text on #338E42 | 5.08:1 | AA | Lc 36.1 | Non-text elements, placeholder text |
| #338E42 text on white | 4.12:1 | AA large text | Lc 68.0 | Content text, not long reading |
| #338E42 text on black | 5.08:1 | AA | Lc -33.6 | 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
#E2EDE3
oklch(93.5% 0.018 148.1)
-
Step 200
200
#CBE0CC
oklch(88.6% 0.035 146.6)
-
Step 300
300
#A7CCA9
oklch(80.9% 0.063 146.4)
-
Step 400
400
#75B27A
oklch(70.7% 0.103 146.3)
-
Step 500
500
#4E9E58
oklch(63.1% 0.13 146.5)
-
Step 600
600 (this color)
#338E42
oklch(57.4% 0.141 146.4)
-
Step 700
700
#1D732F
oklch(49% 0.13 146.7)
-
Step 800
800
#1C5E27
oklch(42.7% 0.109 146.2)
-
Step 900
900
#1E4D25
oklch(37.6% 0.084 146.6)
-
Step 950
950
#132D16
oklch(26.9% 0.053 146.4)
#338E42 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) | #90823B | 0.109 |
| Deuteranopia (no green cones) | #847A48 | 0.108 |
| Tritanopia (no blue cones) | #1B8B7D | 0.084 |
| Achromatopsia (no color) | #7D7D7D | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338E42
#338E42
oklch(57.4% 0.141 146.4)
- #A357A4
#A357A4
oklch(57.5% 0.142 326.7)
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 #338E42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Kelley Green #009337 ΔE 0.028
- Fern Green #548D44 ΔE 0.029
- Sea Green #2E8B57 ΔE 0.030
- Forest Green #228B22 ΔE 0.034
- Light Forest Green #4F9153 ΔE 0.035
- Irish Green #019529 ΔE 0.041
- Emerald Green #028F1E ΔE 0.042
- Sap Green #5C8B15 ΔE 0.042
Use #338E42 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.