#387C12
Closest named color: Tree Green (#2A7E19). oklch(52.2% 0.15 137.5), rgb(56, 124, 18).
Aa
White text reads best on this color (5.17:1).
About this color
#387C12 is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.150 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.010 away. White text reads best on it, at 5.17:1.
| Hue family | Greens |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.05:1 |
| White text | 5.17:1 |
Values
| HEX | #387C12 |
| RGB | rgb(56, 124, 18) |
| HSL | hsl(98, 75%, 28%) |
| OKLCH | oklch(52.2% 0.15 137.5) |
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 #387C12 | 5.17:1 | AA | Lc -80.7 | Fine for body text |
| Black text on #387C12 | 4.05:1 | AA large text | Lc 28.8 | Dividers and decoration only |
| #387C12 text on white | 5.17:1 | AA | Lc 75.3 | Fine for body text |
| #387C12 text on black | 4.05:1 | AA large text | Lc -26.4 | 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 700.
-
Step 50
50
#F2F7F1
oklch(97.1% 0.01 140.5)
-
Step 100
100
#E3EDE0
oklch(93.5% 0.02 138.4)
-
Step 200
200
#CDE0C6
oklch(88.5% 0.041 137.2)
-
Step 300
300
#AACC9E
oklch(80.8% 0.073 137.6)
-
Step 400
400
#7CB268
oklch(70.8% 0.118 137.6)
-
Step 500
500
#599E3C
oklch(63.2% 0.15 137.6)
-
Step 600
600
#3D8812
oklch(55.7% 0.163 137.5)
-
Step 700
700 (this color)
#387C12
oklch(52.2% 0.15 137.5)
-
Step 800
800
#285E09
oklch(42.8% 0.125 137.5)
-
Step 900
900
#254D13
oklch(37.7% 0.098 137.6)
-
Step 950
950
#172D0D
oklch(27% 0.061 137.1)
#387C12 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) | #807100 | 0.095 |
| Deuteranopia (no green cones) | #786B1F | 0.096 |
| Tritanopia (no blue cones) | #337769 | 0.106 |
| Achromatopsia (no color) | #6D6D6D | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #387C12
#387C12
oklch(52.2% 0.15 137.5)
- #8C48A1
#8C48A1
oklch(52.2% 0.151 317.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 #387C12, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.010
- Dark Grass Green #388004 ΔE 0.014
- Green #008000 ΔE 0.030
- Jungle Green #048243 ΔE 0.042
- Forest Green #228B22 ΔE 0.043
- Olive Green #677A04 ΔE 0.053
- Emerald Green #028F1E ΔE 0.056
- Murky Green #6C7A0E ΔE 0.061
Use #387C12 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.