#398D41
Closest named color: Fern Green (#548D44). oklch(57.4% 0.138 145.2), rgb(57, 141, 65).
Aa
Black text reads best on this color (5.06:1).
About this color
#398D41 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.138 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.025 away. Black text reads best on it, at 5.06:1.
| Hue family | Greens |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Fern Green (#548D44) |
| Black text | 5.06:1 |
| White text | 4.14:1 |
Values
| HEX | #398D41 |
| RGB | rgb(57, 141, 65) |
| HSL | hsl(126, 42%, 39%) |
| OKLCH | oklch(57.4% 0.138 145.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 #398D41 | 4.14:1 | AA large text | Lc -73.8 | Content text, not long reading |
| Black text on #398D41 | 5.06:1 | AA | Lc 35.8 | Non-text elements, placeholder text |
| #398D41 text on white | 4.14:1 | AA large text | Lc 68.3 | Content text, not long reading |
| #398D41 text on black | 5.06: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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E3EDE3
oklch(93.6% 0.017 145.4)
-
Step 200
200
#CCE0CC
oklch(88.6% 0.034 145.3)
-
Step 300
300
#A8CCA8
oklch(80.9% 0.063 145)
-
Step 400
400
#78B17A
oklch(70.6% 0.099 145.3)
-
Step 500
500
#529D57
oklch(63% 0.127 145.2)
-
Step 600
600 (this color)
#398D41
oklch(57.4% 0.138 145.2)
-
Step 700
700
#25732E
oklch(49.2% 0.128 145.2)
-
Step 800
800
#215E27
oklch(42.8% 0.107 145.1)
-
Step 900
900
#214D24
oklch(37.8% 0.083 145)
-
Step 950
950
#142D16
oklch(27% 0.052 145.6)
#398D41 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) | #8F813A | 0.105 |
| Deuteranopia (no green cones) | #847A47 | 0.103 |
| Tritanopia (no blue cones) | #288A7C | 0.084 |
| Achromatopsia (no color) | #7C7C7C | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #398D41
#398D41
oklch(57.4% 0.138 145.2)
- #A058A5
#A058A5
oklch(57.3% 0.139 324.8)
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 #398D41, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Fern Green #548D44 ΔE 0.025
- Sea Green #2E8B57 ΔE 0.030
- Kelley Green #009337 ΔE 0.032
- Light Forest Green #4F9153 ΔE 0.033
- Forest Green #228B22 ΔE 0.035
- Sap Green #5C8B15 ΔE 0.040
- Mossy Green #638B27 ΔE 0.041
- Moss Green #658B38 ΔE 0.042
Use #398D41 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.