#397D27
Closest named color: Tree Green (#2A7E19). oklch(52.6% 0.139 139.7), rgb(57, 125, 39).
Aa
White text reads best on this color (5.07:1).
About this color
#397D27 is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.139 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.018 away. White text reads best on it, at 5.07:1.
| Hue family | Greens |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.139) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.13:1 |
| White text | 5.07:1 |
Values
| HEX | #397D27 |
| RGB | rgb(57, 125, 39) |
| HSL | hsl(107, 52%, 32%) |
| OKLCH | oklch(52.6% 0.139 139.7) |
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 #397D27 | 5.07:1 | AA | Lc -80.2 | Fine for body text |
| Black text on #397D27 | 4.13:1 | AA large text | Lc 29.3 | Dividers and decoration only |
| #397D27 text on white | 5.07:1 | AA | Lc 74.8 | Content text, not long reading |
| #397D27 text on black | 4.13:1 | AA large text | Lc -27.0 | Dividers and decoration only |
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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E4EDE2
oklch(93.6% 0.017 140)
-
Step 200
200
#CEDFCA
oklch(88.5% 0.034 139.7)
-
Step 300
300
#ACCBA5
oklch(80.9% 0.062 139.9)
-
Step 400
400
#7FB074
oklch(70.7% 0.1 139.9)
-
Step 500
500
#5D9C4E
oklch(63.1% 0.128 139.8)
-
Step 600
600 (this color)
#397D27
oklch(52.6% 0.139 139.7)
-
Step 700
700
#337123
oklch(49% 0.128 139.8)
-
Step 800
800
#2B5C1F
oklch(42.6% 0.106 139.9)
-
Step 900
900
#284C1F
oklch(37.7% 0.083 139.6)
-
Step 950
950
#182D13
oklch(27.2% 0.053 139.7)
#397D27 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) | #81721C | 0.094 |
| Deuteranopia (no green cones) | #786C2F | 0.094 |
| Tritanopia (no blue cones) | #32796B | 0.093 |
| Achromatopsia (no color) | #6E6E6E | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #397D27
#397D27
oklch(52.6% 0.139 139.7)
- #8D4C9C
#8D4C9C
oklch(52.6% 0.139 319.9)
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 #397D27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.018
- Dark Grass Green #388004 ΔE 0.023
- Jungle Green #048243 ΔE 0.031
- Green #008000 ΔE 0.040
- Forest Green #228B22 ΔE 0.044
- Olive Green #677A04 ΔE 0.050
- Murky Green #6C7A0E ΔE 0.057
- Sea Green #2E8B57 ΔE 0.058
Use #397D27 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.